Skip to content

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

toolbox: always hide for SIP gateways

Saúl Ibarra Corretgé6a7594cd9c20
diff --git a/react/features/toolbox/functions.web.js b/react/features/toolbox/functions.web.js
index be1cd9ef3d..cbbd855a0c 100644
--- a/react/features/toolbox/functions.web.js
+++ b/react/features/toolbox/functions.web.js
@@ -34,11 +34,12 @@ export function isButtonEnabled(name: string) {
* otherwise.
*/
export function isToolboxVisible(state: Object) {
+ const { iAmSipGateway } = state['features/base/config'];
const {
alwaysVisible,
timeoutID,
visible
} = state['features/toolbox'];
- return Boolean(timeoutID || visible || alwaysVisible);
+ return Boolean(!iAmSipGateway && (timeoutID || visible || alwaysVisible));
}