info-dialog: don't show when a SIP gateway joins alone

This commit is contained in:
Saúl Ibarra Corretgé 2020-02-25 11:45:00 +01:00 committed by Saúl Ibarra Corretgé
parent 5b0c6e088a
commit 8fd0f56be7
1 changed files with 2 additions and 1 deletions

View File

@ -250,10 +250,11 @@ class InfoDialogButton extends Component<Props, State> {
function _mapStateToProps(state) { function _mapStateToProps(state) {
const currentLiveStreamingSession const currentLiveStreamingSession
= getActiveSession(state, JitsiRecordingConstants.mode.STREAM); = getActiveSession(state, JitsiRecordingConstants.mode.STREAM);
const { iAmRecorder, iAmSipGateway } = state['features/base/config'];
return { return {
_dialIn: state['features/invite'], _dialIn: state['features/invite'],
_disableAutoShow: state['features/base/config'].iAmRecorder, _disableAutoShow: iAmRecorder || iAmSipGateway,
_isConferenceJoined: _isConferenceJoined:
Boolean(state['features/base/conference'].conference), Boolean(state['features/base/conference'].conference),
_liveStreamViewURL: _liveStreamViewURL: