diff --git a/src/mixins/getParticipants.js b/src/mixins/getParticipants.js index 25070b962f2..32475fbb0bb 100644 --- a/src/mixins/getParticipants.js +++ b/src/mixins/getParticipants.js @@ -84,7 +84,11 @@ const getParticipants = { }) }, - debounceUpdateParticipants() { + debounceUpdateParticipants(onlySelfChanged) { + if (onlySelfChanged) { + return + } + if (!this.$store.getters.windowIsVisible() || !this.$store.getters.getSidebarStatus || !this.isActive) { diff --git a/src/utils/signaling.js b/src/utils/signaling.js index a9231d88c1d..919672b3b6a 100644 --- a/src/utils/signaling.js +++ b/src/utils/signaling.js @@ -1195,9 +1195,7 @@ Signaling.Standalone.prototype.processRoomEvent = function(data) { } } this._trigger('usersJoined', [joinedUsers]) - if (userListIsDirty) { - this._trigger('participantListChanged') - } + this._trigger('participantListChanged', !userListIsDirty) } break case 'leave':