Selaa lähdekoodia

CLOSE_CHAT action calls notifyChatUpdated with the isOpen flag set to false, previously was always true even when closing

j8
HippyJim 4 vuotta sitten
vanhempi
commit
8dbb392d85
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      react/features/chat/middleware.js

+ 1
- 1
react/features/chat/middleware.js Näytä tiedosto

104
         unreadCount = 0;
104
         unreadCount = 0;
105
 
105
 
106
         if (typeof APP !== 'undefined') {
106
         if (typeof APP !== 'undefined') {
107
-            APP.API.notifyChatUpdated(unreadCount, true);
107
+            APP.API.notifyChatUpdated(unreadCount, false);
108
         }
108
         }
109
 
109
 
110
         dispatch(setActiveModalId());
110
         dispatch(setActiveModalId());

Loading…
Peruuta
Tallenna