瀏覽代碼

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

j8
HippyJim 4 年之前
父節點
當前提交
8dbb392d85
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      react/features/chat/middleware.js

+ 1
- 1
react/features/chat/middleware.js 查看文件

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…
取消
儲存