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
rn,filmstrip: don't unpin participant when hiding filmstrip
Saúl Ibarra Corretgéb5489b7c81d6
diff --git a/react/features/filmstrip/middleware.js b/react/features/filmstrip/middleware.jsindex 71af8b6aab..a04b718ea6 100644--- a/react/features/filmstrip/middleware.js+++ b/react/features/filmstrip/middleware.js@@ -1,7 +1,6 @@// @flowimport { setLastN } from '../base/conference';-import { pinParticipant } from '../base/participants';import { MiddlewareRegistry } from '../base/redux';import { SET_FILMSTRIP_ENABLED } from './actionTypes';@@ -33,16 +32,12 @@ MiddlewareRegistry.register(store => next => action => {function _setFilmstripEnabled({ dispatch, getState }, next, action) {const result = next(action);- // FIXME The logic for participant pinning / unpinning is not on React yet- // so dispatching the action is not enough. Hence, perform the following- // only where it will be sufficient i.e. mobile.+ // FIXME This action is not currently dispatched on web.if (typeof APP === 'undefined') {const state = getState();const { enabled } = state['features/filmstrip'];const { audioOnly } = state['features/base/conference'];- enabled || dispatch(pinParticipant(null));-// FIXME Audio-only mode fiddles with lastN as well. That's why we don't// touch lastN in audio-only mode. But it's not clear what the value of// lastN should be upon exit from audio-only mode if the filmstrip is