Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(participant) Avoid unnecessary unpin calls (#12060)
Robert Pintilii372c2cb0f9c5
diff --git a/react/features/filmstrip/subscriber.web.js b/react/features/filmstrip/subscriber.web.jsindex ad51d7ed93..591ed0566a 100644--- a/react/features/filmstrip/subscriber.web.js+++ b/react/features/filmstrip/subscriber.web.js@@ -72,11 +72,16 @@ StateListenerRegistry.register(},/* listener */ ({ layout }, store) => {switch (layout) {- case LAYOUTS.TILE_VIEW:+ case LAYOUTS.TILE_VIEW: {+ const { pinnedParticipant } = store.getState()['features/base/participants'];++ if (pinnedParticipant) {+ store.dispatch(pinParticipant(null));+ }store.dispatch(clearStageParticipants());- store.dispatch(pinParticipant(null));store.dispatch(setTileViewDimensions());break;+ }case LAYOUTS.HORIZONTAL_FILMSTRIP_VIEW:store.dispatch(setHorizontalViewDimensions());break;