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

This commit is contained in:
brian baldino 2018-02-22 11:33:10 -08:00 committed by yanas
parent 74a92f83c7
commit 9fea5e89b3
1 changed files with 3 additions and 0 deletions

View File

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