fix(raise-hand): Remove participant left from raised hand queue

This commit is contained in:
hmuresan 2021-11-08 17:32:12 +02:00 committed by Horatiu Muresan
parent fc52105cf6
commit b2894cc941
1 changed files with 1 additions and 0 deletions

View File

@ -276,6 +276,7 @@ ReducerRegistry.register('features/base/participants', (state = DEFAULT_STATE, a
}
state.sortedRemoteParticipants.delete(id);
state.raisedHandsQueue = state.raisedHandsQueue.filter(pid => pid.id !== id);
if (!state.everyoneIsModerator && !isParticipantModerator(oldParticipant)) {
state.everyoneIsModerator = _isEveryoneModerator(state);