diff --git a/src/webrtc/call.ts b/src/webrtc/call.ts index 53f7bbe7c..dcea809b7 100644 --- a/src/webrtc/call.ts +++ b/src/webrtc/call.ts @@ -990,7 +990,7 @@ export class MatrixCall extends EventEmitter { return; } - if (this.opponentPartyId !== undefined) { + if (this.opponentPartyId !== null) { logger.info( `Ignoring answer from party ID ${event.getContent().party_id}: ` + `we already have an answer/reject from ${this.opponentPartyId}`,