From 9fea5e89b32e74d13e1e0cef6e6c5c46b9e24f58 Mon Sep 17 00:00:00 2001 From: brian baldino Date: Thu, 22 Feb 2018 11:33:10 -0800 Subject: [PATCH] don't show 'user has left' notification for hidden users --- conference.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conference.js b/conference.js index 158dfb8f77..91cbd1ac36 100644 --- a/conference.js +++ b/conference.js @@ -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);