We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents accfa32 + b6ef8d9 commit ed6d4e5Copy full SHA for ed6d4e5
src/webrtc/call.ts
@@ -660,6 +660,8 @@ export class MatrixCall extends EventEmitter {
660
661
logger.debug("Ending call " + this.callId);
662
this.terminate(CallParty.Local, reason, !suppressEvent);
663
+ // We don't want to send hangup here if we didn't even get to sending an invite
664
+ if (this.state === CallState.WaitLocalMedia) return;
665
const content = {};
666
// Continue to send no reason for user hangups temporarily, until
667
// clients understand the user_hangup reason (voip v1)
0 commit comments