diff options
author | Joas Schilling <coding@schilljs.com> | 2021-08-23 16:12:20 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-08-23 16:30:02 +0200 |
commit | f700cbc36bf8192843126af02bdf5ff38b639c42 (patch) | |
tree | af8c191cbf8753f0ca012859970240ebbb60b906 /src/components/RightSidebar/Participants/ParticipantsTab.vue | |
parent | a58d76c3ae7489cd4dec063d2bd36ca0eb69c3cc (diff) |
Fix event names to kebap-case
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/components/RightSidebar/Participants/ParticipantsTab.vue')
-rw-r--r-- | src/components/RightSidebar/Participants/ParticipantsTab.vue | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/RightSidebar/Participants/ParticipantsTab.vue b/src/components/RightSidebar/Participants/ParticipantsTab.vue index 18a7f2727..ba9b59da3 100644 --- a/src/components/RightSidebar/Participants/ParticipantsTab.vue +++ b/src/components/RightSidebar/Participants/ParticipantsTab.vue @@ -135,19 +135,19 @@ export default { }, beforeMount() { - EventBus.$on('routeChange', this.onRouteChange) - EventBus.$on('joinedConversation', this.onJoinedConversation) + EventBus.$on('route-change', this.onRouteChange) + EventBus.$on('joined-conversation', this.onJoinedConversation) // 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? - EventBus.$on('Signaling::participantListChanged', this.debounceUpdateParticipants) + EventBus.$on('signaling-participant-list-changed', this.debounceUpdateParticipants) }, beforeDestroy() { - EventBus.$off('routeChange', this.onRouteChange) - EventBus.$off('joinedConversation', this.onJoinedConversation) - EventBus.$off('Signaling::participantListChanged', this.debounceUpdateParticipants) + EventBus.$off('route-change', this.onRouteChange) + EventBus.$off('joined-conversation', this.onJoinedConversation) + EventBus.$off('signaling-participant-list-changed', this.debounceUpdateParticipants) this.cancelSearchPossibleConversations() this.cancelSearchPossibleConversations = null |