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(base/config): apply disableProfile check only for web buttons

Calin-Teodor2ba57730cd98
diff --git a/react/features/base/config/reducer.ts b/react/features/base/config/reducer.ts
index e1c971428b..9702606578 100644
--- a/react/features/base/config/reducer.ts
+++ b/react/features/base/config/reducer.ts
@@ -572,9 +572,12 @@ function _translateLegacyConfig(oldValue: IConfig) {
};
}
- if (oldValue.disableProfile) {
- newValue.toolbarButtons = (newValue.toolbarButtons || TOOLBAR_BUTTONS)
- .filter((button: ToolbarButton) => button !== 'profile');
+ // Profile button is not available on mobile
+ if (navigator.product !== 'ReactNative') {
+ if (oldValue.disableProfile) {
+ newValue.toolbarButtons = (newValue.toolbarButtons || TOOLBAR_BUTTONS)
+ .filter((button: ToolbarButton) => button !== 'profile');
+ }
}
_setDeeplinkingDefaults(newValue.deeplinking as IDeeplinkingConfig);