mirror of https://github.com/vector-im/riot-web
Merge pull request #6131 from matrix-org/dbkr/log_when_already_a_call
Log when we ignore a second call in a roompull/21833/head
commit
bc2f068e1e
|
@ -802,7 +802,10 @@ export default class CallHandler extends EventEmitter {
|
|||
|
||||
const mappedRoomId = CallHandler.sharedInstance().roomIdForCall(call);
|
||||
if (this.getCallForRoom(mappedRoomId)) {
|
||||
// ignore multiple incoming calls to the same room
|
||||
console.log(
|
||||
"Got incoming call for room " + mappedRoomId +
|
||||
" but there's already a call for this room: ignoring",
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue