From 091e3f69dcec930c253f30012a0e8a110d93fcdc Mon Sep 17 00:00:00 2001 From: damencho Date: Mon, 30 Jan 2023 15:06:37 -0600 Subject: [PATCH] fix: Fixes follow-me when there is a screenshare. --- react/features/follow-me/subscriber.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/follow-me/subscriber.ts b/react/features/follow-me/subscriber.ts index 894884c3e..940bd2dee 100644 --- a/react/features/follow-me/subscriber.ts +++ b/react/features/follow-me/subscriber.ts @@ -92,7 +92,7 @@ function _getFollowMeState(state: IReduxState) { return { filmstripVisible: state['features/filmstrip'].visible, maxStageParticipants: stageFilmstrip ? state['features/base/settings'].maxStageParticipants : undefined, - nextOnStage: stageFilmstrip ? undefined : pinnedParticipant?.id, + nextOnStage: pinnedParticipant?.id, pinnedStageParticipants: stageFilmstrip ? JSON.stringify(getPinnedActiveParticipants(state)) : undefined, sharedDocumentVisible: state['features/etherpad'].editing, tileViewEnabled: shouldDisplayTileView(state)