소스 검색

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

j8
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);

Loading…
취소
저장