mirror of https://github.com/vector-im/riot-web
parent
1a0365f528
commit
7b52cca8d3
|
@ -1150,7 +1150,7 @@ export default class CallHandler extends EventEmitter {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private addCallForRoom(roomId: string, call: MatrixCall, changedRooms=false): void {
|
private addCallForRoom(roomId: string, call: MatrixCall, changedRooms = false): void {
|
||||||
if (this.calls.has(roomId)) {
|
if (this.calls.has(roomId)) {
|
||||||
console.log(`Couldn't add call to room ${roomId}: already have a call for this room`);
|
console.log(`Couldn't add call to room ${roomId}: already have a call for this room`);
|
||||||
throw new Error("Already have a call for room " + roomId);
|
throw new Error("Already have a call for room " + roomId);
|
||||||
|
|
Loading…
Reference in New Issue