소스 검색

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

master
Saúl Ibarra Corretgé 5 년 전
부모
커밋
8fd0f56be7
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      react/features/invite/components/info-dialog/web/InfoDialogButton.js

+ 2
- 1
react/features/invite/components/info-dialog/web/InfoDialogButton.js 파일 보기

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

Loading…
취소
저장