mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Don't set the call state to ended on error
This isn't always the case, eg. just because we fail to pick up, the call is still ringing.
This commit is contained in:
parent
af8ff1b888
commit
8ba9d26d4b
@ -117,7 +117,6 @@ function _setCallListeners(call) {
|
||||
call.on("error", function(err) {
|
||||
console.error("Call error: %s", err);
|
||||
console.error(err.stack);
|
||||
_setCallState(undefined, call.roomId, "ended");
|
||||
if (err.code === 'unknown_devices') {
|
||||
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user