From 8fd0f56be73e43d0b70da0bb0e5292df6a49a96d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 25 Feb 2020 11:45:00 +0100 Subject: [PATCH] info-dialog: don't show when a SIP gateway joins alone --- .../invite/components/info-dialog/web/InfoDialogButton.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/react/features/invite/components/info-dialog/web/InfoDialogButton.js b/react/features/invite/components/info-dialog/web/InfoDialogButton.js index 8a590adf0..292cc275c 100644 --- a/react/features/invite/components/info-dialog/web/InfoDialogButton.js +++ b/react/features/invite/components/info-dialog/web/InfoDialogButton.js @@ -250,10 +250,11 @@ class InfoDialogButton extends Component { function _mapStateToProps(state) { const currentLiveStreamingSession = getActiveSession(state, JitsiRecordingConstants.mode.STREAM); + const { iAmRecorder, iAmSipGateway } = state['features/base/config']; return { _dialIn: state['features/invite'], - _disableAutoShow: state['features/base/config'].iAmRecorder, + _disableAutoShow: iAmRecorder || iAmSipGateway, _isConferenceJoined: Boolean(state['features/base/conference'].conference), _liveStreamViewURL: