|
@@ -135,10 +135,15 @@ function _appWillMount({ dispatch, getState }, next, action) {
|
135
|
135
|
function _conferenceFailed(store, next, action) {
|
136
|
136
|
const result = next(action);
|
137
|
137
|
|
138
|
|
- const { callUUID } = action.conference;
|
139
|
|
-
|
140
|
|
- if (callUUID) {
|
141
|
|
- CallKit.reportCallFailed(callUUID);
|
|
138
|
+ // XXX Certain CONFERENCE_FAILED errors are recoverable i.e. they have
|
|
139
|
+ // prevented the user from joining a specific conference but the app may be
|
|
140
|
+ // able to eventually join the conference.
|
|
141
|
+ if (!action.error.recoverable) {
|
|
142
|
+ const { callUUID } = action.conference;
|
|
143
|
+
|
|
144
|
+ if (callUUID) {
|
|
145
|
+ CallKit.reportCallFailed(callUUID);
|
|
146
|
+ }
|
142
|
147
|
}
|
143
|
148
|
|
144
|
149
|
return result;
|