You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-23 17:02:25 +03:00
Update src/webrtc/callEventHandler.ts
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -261,7 +261,7 @@ export class CallEventHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// The following events need a call and a peer connection
|
// The following events need a call and a peer connection
|
||||||
if (!call && !call.hasPeerConnection) {
|
if (!call || !call.hasPeerConnection) {
|
||||||
logger.warn('Discarding an event, we don't have a call/peerConn', type);
|
logger.warn('Discarding an event, we don't have a call/peerConn', type);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user