Просмотр исходного кода

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

master
brian baldino 7 лет назад
Родитель
Сommit
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);

Загрузка…
Отмена
Сохранить