浏览代码

don't show 'user has left' notification for hidden users

master
brian baldino 7 年前
父节点
当前提交
9fea5e89b3
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      conference.js

+ 3
- 0
conference.js 查看文件

@@ -1765,6 +1765,9 @@ export default {
1765 1765
         });
1766 1766
 
1767 1767
         room.on(JitsiConferenceEvents.USER_LEFT, (id, user) => {
1768
+            if (user.isHidden()) {
1769
+                return;
1770
+            }
1768 1771
             APP.store.dispatch(participantLeft(id, user));
1769 1772
             logger.log('USER %s LEFT', id, user);
1770 1773
             APP.API.notifyUserLeft(id);

正在加载...
取消
保存