Bug 1081959 - "Something went wrong" isn't displayed when the call fails in the connection phase, r=dmose
This commit is contained in:
@@ -400,9 +400,12 @@ loop.conversation = (function(mozL10n) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (progressData.reason === "timeout" &&
|
||||
(previousState === "init" || previousState === "alerting")) {
|
||||
this._abortIncomingCall();
|
||||
if (progressData.reason === "timeout") {
|
||||
if (previousState === "init" || previousState === "alerting") {
|
||||
this._abortIncomingCall();
|
||||
} else {
|
||||
this.setState({callFailed: true, callStatus: "end"});
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user