From 8321695888634193422e2958972edd568fde2462 Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Tue, 12 Nov 2024 13:56:57 -0500 Subject: [PATCH 1/2] Trigger call rejoin attempt only if you were in it Many membership events may get synced while your own join attempt is being processed, during which you will not be in the call membership list. So, only try to rejoin if it seems that you have _left_ the call, not when you are not (yet) in the call. --- src/matrixrtc/MatrixRTCSession.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/matrixrtc/MatrixRTCSession.ts b/src/matrixrtc/MatrixRTCSession.ts index 046591ede17..083de439152 100644 --- a/src/matrixrtc/MatrixRTCSession.ts +++ b/src/matrixrtc/MatrixRTCSession.ts @@ -871,7 +871,11 @@ export class MatrixRTCSession extends TypedEventEmitter Date: Tue, 12 Nov 2024 15:50:31 -0500 Subject: [PATCH 2/2] Add comments --- src/matrixrtc/MatrixRTCSession.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/matrixrtc/MatrixRTCSession.ts b/src/matrixrtc/MatrixRTCSession.ts index 083de439152..b98cb1394ff 100644 --- a/src/matrixrtc/MatrixRTCSession.ts +++ b/src/matrixrtc/MatrixRTCSession.ts @@ -872,10 +872,11 @@ export class MatrixRTCSession extends TypedEventEmitter