fix: Fixes follow-me on the side that is screen sharing.

This commit is contained in:
damencho 2023-01-31 12:02:16 -06:00 committed by Дамян Минков
parent 091e3f69dc
commit bf1b7cc856
1 changed files with 7 additions and 1 deletions

View File

@ -49,9 +49,15 @@ MiddlewareRegistry.register(store => next => action => {
return result;
}
case PIN_PARTICIPANT: {
const result = next(action);
store.dispatch(selectParticipantInLargeVideo(action.participant?.id));
return result;
}
case PARTICIPANT_JOINED:
case PARTICIPANT_LEFT:
case PIN_PARTICIPANT:
case TOGGLE_DOCUMENT_EDITING:
case TRACK_ADDED:
case TRACK_REMOVED: {