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
Hides sip dialout button if configured to show it for non guest users.
damencho32ea2161eb88
diff --git a/react/features/toolbox/actions.web.js b/react/features/toolbox/actions.web.jsindex efcb1d40fe..fbf7608a82 100644--- a/react/features/toolbox/actions.web.js+++ b/react/features/toolbox/actions.web.js@@ -227,10 +227,15 @@ export function showSharedVideoButton(): Function {export function showSIPCallButton(show: boolean): Function {return (dispatch: Dispatch<*>) => {const buttonName = 'sip';++ // hide the button if there is a config to check for user roles,+ // based on the token and the the user is guestconst shouldShow= APP.conference.sipGatewayEnabled()&& UIUtil.isButtonEnabled(buttonName)- && show;+ && show+ && (!config.enableUserRolesBasedOnToken+ || !APP.tokenData.isGuest);if (shouldShow) {dispatch(setToolbarButton(buttonName, {