1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

We were using undefined here too

This commit is contained in:
David Baker
2021-01-25 16:34:28 +00:00
parent 90dda0ca68
commit 1df69d259a

View File

@@ -990,7 +990,7 @@ export class MatrixCall extends EventEmitter {
return; return;
} }
if (this.opponentPartyId !== undefined) { if (this.opponentPartyId !== null) {
logger.info( logger.info(
`Ignoring answer from party ID ${event.getContent().party_id}: ` + `Ignoring answer from party ID ${event.getContent().party_id}: ` +
`we already have an answer/reject from ${this.opponentPartyId}`, `we already have an answer/reject from ${this.opponentPartyId}`,