Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(disableSelfView) Config overwrites settings (#10750)

Robert Pintiliib8778c4e0b53
diff --git a/react/features/base/config/middleware.js b/react/features/base/config/middleware.js
index a512def0c7..088ee48cda 100644
--- a/react/features/base/config/middleware.js
+++ b/react/features/base/config/middleware.js
@@ -125,6 +125,12 @@ function _setConfig({ dispatch, getState }, next, action) {
}));
}
+ if (action.config.disableSelfView !== undefined) {
+ dispatch(updateSettings({
+ disableSelfView: action.config.disableSelfView
+ }));
+ }
+
dispatch(updateConfig(config));
// FIXME On Web we rely on the global 'config' variable which gets altered