From 4f2999f8d8a06f964d4c1526cd890b5b21c8823b Mon Sep 17 00:00:00 2001 From: Bruno Windels <274386+bwindels@users.noreply.github.com> Date: Wed, 27 Apr 2022 19:41:02 +0200 Subject: [PATCH] reconnect when detecting session id change, so we send invite if needed --- src/matrix/calls/group/Member.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/matrix/calls/group/Member.ts b/src/matrix/calls/group/Member.ts index 3f7730a5..3d773b7e 100644 --- a/src/matrix/calls/group/Member.ts +++ b/src/matrix/calls/group/Member.ts @@ -143,7 +143,9 @@ export class Member { const localMedia = this.localMedia; this.localMedia = undefined; this.disconnect(false); - this.localMedia = localMedia; + // connect again, as the other side might be waiting for our invite + // after refreshing + this.connect(localMedia!, this.localMuteSettings!); }); } this.callDeviceMembership = callDeviceMembership;