Просмотр исходного кода

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

j8
Saúl Ibarra Corretgé 5 лет назад
Родитель
Сommit
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
 function _mapStateToProps(state) {
250
 function _mapStateToProps(state) {
251
     const currentLiveStreamingSession
251
     const currentLiveStreamingSession
252
         = getActiveSession(state, JitsiRecordingConstants.mode.STREAM);
252
         = getActiveSession(state, JitsiRecordingConstants.mode.STREAM);
253
+    const { iAmRecorder, iAmSipGateway } = state['features/base/config'];
253
 
254
 
254
     return {
255
     return {
255
         _dialIn: state['features/invite'],
256
         _dialIn: state['features/invite'],
256
-        _disableAutoShow: state['features/base/config'].iAmRecorder,
257
+        _disableAutoShow: iAmRecorder || iAmSipGateway,
257
         _isConferenceJoined:
258
         _isConferenceJoined:
258
             Boolean(state['features/base/conference'].conference),
259
             Boolean(state['features/base/conference'].conference),
259
         _liveStreamViewURL:
260
         _liveStreamViewURL:

Загрузка…
Отмена
Сохранить