diff --git a/src/matrix/calls/group/Member.ts b/src/matrix/calls/group/Member.ts index e0c9c6ca..d88a216f 100644 --- a/src/matrix/calls/group/Member.ts +++ b/src/matrix/calls/group/Member.ts @@ -362,6 +362,7 @@ export class Member { syncLog.refDetached(log); } if (shouldReplace) { + connection.peerCall.dispose(); connection.peerCall = undefined; action = IncomingMessageAction.Handle; }