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
parent eed2074393
commit 3a73519218
1 changed files with 7 additions and 1 deletions

View File

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