fix: Fixes follow-me when there is a screenshare.

This commit is contained in:
damencho 2023-01-30 15:06:37 -06:00 committed by Дамян Минков
parent 42868c9ec2
commit 091e3f69dc
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ function _getFollowMeState(state: IReduxState) {
return { return {
filmstripVisible: state['features/filmstrip'].visible, filmstripVisible: state['features/filmstrip'].visible,
maxStageParticipants: stageFilmstrip ? state['features/base/settings'].maxStageParticipants : undefined, maxStageParticipants: stageFilmstrip ? state['features/base/settings'].maxStageParticipants : undefined,
nextOnStage: stageFilmstrip ? undefined : pinnedParticipant?.id, nextOnStage: pinnedParticipant?.id,
pinnedStageParticipants: stageFilmstrip ? JSON.stringify(getPinnedActiveParticipants(state)) : undefined, pinnedStageParticipants: stageFilmstrip ? JSON.stringify(getPinnedActiveParticipants(state)) : undefined,
sharedDocumentVisible: state['features/etherpad'].editing, sharedDocumentVisible: state['features/etherpad'].editing,
tileViewEnabled: shouldDisplayTileView(state) tileViewEnabled: shouldDisplayTileView(state)