don't show 'user has left' notification for hidden users
This commit is contained in:
parent
74a92f83c7
commit
9fea5e89b3
|
@ -1765,6 +1765,9 @@ export default {
|
||||||
});
|
});
|
||||||
|
|
||||||
room.on(JitsiConferenceEvents.USER_LEFT, (id, user) => {
|
room.on(JitsiConferenceEvents.USER_LEFT, (id, user) => {
|
||||||
|
if (user.isHidden()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
APP.store.dispatch(participantLeft(id, user));
|
APP.store.dispatch(participantLeft(id, user));
|
||||||
logger.log('USER %s LEFT', id, user);
|
logger.log('USER %s LEFT', id, user);
|
||||||
APP.API.notifyUserLeft(id);
|
APP.API.notifyUserLeft(id);
|
||||||
|
|
Loading…
Reference in New Issue