|
@@ -140,7 +140,7 @@ function _addConferenceListeners(conference, dispatch) {
|
140
|
140
|
|
141
|
141
|
conference.on(
|
142
|
142
|
JitsiConferenceEvents.USER_JOINED,
|
143
|
|
- (id, user) => dispatch(participantJoined({
|
|
143
|
+ (id, user) => !user.isHidden() && dispatch(participantJoined({
|
144
|
144
|
conference,
|
145
|
145
|
id,
|
146
|
146
|
name: user.getDisplayName(),
|
|
@@ -148,7 +148,8 @@ function _addConferenceListeners(conference, dispatch) {
|
148
|
148
|
})));
|
149
|
149
|
conference.on(
|
150
|
150
|
JitsiConferenceEvents.USER_LEFT,
|
151
|
|
- id => dispatch(participantLeft(id, conference)));
|
|
151
|
+ (id, user) => !user.isHidden()
|
|
152
|
+ && dispatch(participantLeft(id, conference)));
|
152
|
153
|
conference.on(
|
153
|
154
|
JitsiConferenceEvents.USER_ROLE_CHANGED,
|
154
|
155
|
(...args) => dispatch(participantRoleChanged(...args)));
|