summaryrefslogtreecommitdiffstats
path: root/src/mixins/getParticipants.js
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2022-03-14 01:56:33 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2022-03-17 14:04:10 +0100
commitf6a8f00cd9e92ed2fc628c7eb082aec7649c3688 (patch)
treeedce4ff1666acf1f9720a41c3bfc917598a9b322 /src/mixins/getParticipants.js
parent21f9bff9a14cd8a7cd40456e820105ed872de217 (diff)
Revert "Fix participant permissions not reloaded when general permissions change"
This reverts commit 99def03db2d5470e4aaf139152c01bf79fc01c48. The previous fix was flawed, as the participant permissions were reloaded only for the participant who changed the general permissions. Moreover, now all the participants reload the participant list both with and without HPB when the general permissions change, so the previous fix is no longer needed even for the participant who made the change. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'src/mixins/getParticipants.js')
-rw-r--r--src/mixins/getParticipants.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mixins/getParticipants.js b/src/mixins/getParticipants.js
index fc9352d15..25070b962 100644
--- a/src/mixins/getParticipants.js
+++ b/src/mixins/getParticipants.js
@@ -59,9 +59,6 @@ const getParticipants = {
EventBus.$on('route-change', this.onRouteChange)
EventBus.$on('joined-conversation', this.onJoinedConversation)
- EventBus.$on('conversation-permissions-changed', this.debounceUpdateParticipants)
- EventBus.$on('call-permissions-changed', this.debounceUpdateParticipants)
-
// FIXME this works only temporary until signaling is fixed to be only on the calls
// Then we have to search for another solution. Maybe the room list which we update
// periodically gets a hash of all online sessions?
@@ -71,8 +68,6 @@ const getParticipants = {
stopGetParticipantsMixin() {
EventBus.$off('route-change', this.onRouteChange)
EventBus.$off('joined-conversation', this.onJoinedConversation)
- EventBus.$off('conversation-permissions-changed', this.debounceUpdateParticipants)
- EventBus.$off('call-permissions-changed', this.debounceUpdateParticipants)
EventBus.$off('signaling-participant-list-changed', this.debounceUpdateParticipants)
},