Log when we ignore a second call in a room

What's more useful than a comment? A log line.
This commit is contained in:
David Baker 2021-06-01 19:04:52 +01:00
parent 50994735d9
commit f0f8210790

View file

@ -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;
}