From 6e536fa5d199bdf3f4e3f3823153e1253e9b5987 Mon Sep 17 00:00:00 2001 From: Rajesh Kumar Date: Tue, 26 Sep 2023 20:37:31 +0530 Subject: [PATCH] fix(meeting): release auto leave intermittently fix --- src/MeetingsSDKAdapter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MeetingsSDKAdapter.js b/src/MeetingsSDKAdapter.js index da5dde99..7dab7a46 100644 --- a/src/MeetingsSDKAdapter.js +++ b/src/MeetingsSDKAdapter.js @@ -1272,6 +1272,7 @@ export default class MeetingsSDKAdapter extends MeetingsAdapter { .pipe( map(() => { logger.debug('MEETING', ID, 'getMeeting()', ['received', EVENT_MEMBERS_UPDATE, 'event']); + // Use state of specific meeting instead of collective state const self = sdkMeeting.joinedWith; return (self && self.state) || MeetingState.NOT_JOINED;