mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
Fix unwanted toast appearing when opening client
This commit is contained in:
parent
903a157de2
commit
9a6d15a72b
@ -229,7 +229,8 @@ export class CallHandler implements RoomStateHandler {
|
|||||||
this._calls.remove(call.id);
|
this._calls.remove(call.id);
|
||||||
txn.calls.remove(call.intent, roomId, call.id);
|
txn.calls.remove(call.intent, roomId, call.id);
|
||||||
}
|
}
|
||||||
} else {
|
} else if(!event.content["m.terminated"]) {
|
||||||
|
// We don't have this call already and it isn't terminated, so create the call:
|
||||||
call = new GroupCall(
|
call = new GroupCall(
|
||||||
event.state_key, // id
|
event.state_key, // id
|
||||||
false, // isLoadedFromStorage
|
false, // isLoadedFromStorage
|
||||||
|
Loading…
Reference in New Issue
Block a user