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(api) invert filmstrip autohide flag
Tudor-Ovidiu Avram2eedc2945d39
diff --git a/config.js b/config.jsindex 9449dbcec5..3b042fb50c 100644--- a/config.js+++ b/config.js@@ -860,8 +860,8 @@ var config = {// 'transcribing.failedToStart' // shown when transcribing fails to start// ],- // Automatically hides the filmstrip when screen width is under a certain threshold- autohideFilmstrip: true,+ // Prevent the filmstrip from autohiding when screen width is under a certain threshold+ // disableFilmstripAutohiding: false,// Allow all above example options to include a trailing comma and// prevent fear when commenting out the last value.diff --git a/react/features/base/config/configWhitelist.js b/react/features/base/config/configWhitelist.jsindex ddef03739d..f2bffdecfa 100644--- a/react/features/base/config/configWhitelist.js+++ b/react/features/base/config/configWhitelist.js@@ -16,7 +16,6 @@ export default ['analytics.disabled','audioLevelsInterval','audioQuality',- 'autohideFilmstrip','apiLogLevels','avgRtpStatsN','backgroundAlpha',@@ -83,6 +82,7 @@ export default ['disableAP','disableAudioLevels','disableDeepLinking',+ 'disableFilmstripAutohiding','disableInitialGUM','disableH264','disableHPF',diff --git a/react/features/filmstrip/subscriber.web.js b/react/features/filmstrip/subscriber.web.jsindex 8ad1e2dea4..cb3ee30c34 100644--- a/react/features/filmstrip/subscriber.web.js+++ b/react/features/filmstrip/subscriber.web.js@@ -122,9 +122,9 @@ StateListenerRegistry.register(/* selector */ state => state['features/base/responsive-ui'].clientWidth < ASPECT_RATIO_BREAKPOINT,/* listener */ (widthBelowThreshold, store) => {const state = store.getState();- const { autohideFilmstrip } = state['features/base/config'];+ const { disableFilmstripAutohiding } = state['features/base/config'];- if (autohideFilmstrip) {+ if (!disableFilmstripAutohiding) {store.dispatch(setFilmstripVisible(!widthBelowThreshold));}});