Ver código fonte

fix(subject): set to ' ' after settings change.

j8
Hristo Terezov 4 anos atrás
pai
commit
55175e2e95
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      react/features/base/conference/middleware.js

+ 1
- 1
react/features/base/conference/middleware.js Ver arquivo

@@ -624,7 +624,7 @@ function _updateLocalParticipantInConference({ dispatch, getState }, next, actio
624 624
 
625 625
             // When the local user role is updated to moderator and we have a pending subject change
626 626
             // which was not reflected we need to set it (the first time we tried was before becoming moderator).
627
-            if (pendingSubjectChange !== subject) {
627
+            if (typeof pendingSubjectChange !== 'undefined' && pendingSubjectChange !== subject) {
628 628
                 dispatch(setSubject(pendingSubjectChange));
629 629
             }
630 630
         }

Carregando…
Cancelar
Salvar