diff options
Diffstat (limited to 'src/components/LeftSidebar/ConversationsList/ConversationsList.vue')
-rw-r--r-- | src/components/LeftSidebar/ConversationsList/ConversationsList.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/LeftSidebar/ConversationsList/ConversationsList.vue b/src/components/LeftSidebar/ConversationsList/ConversationsList.vue index 1ad5fb000..1a60148d6 100644 --- a/src/components/LeftSidebar/ConversationsList/ConversationsList.vue +++ b/src/components/LeftSidebar/ConversationsList/ConversationsList.vue @@ -73,14 +73,14 @@ export default { }, mounted() { - EventBus.$on('routeChange', this.onRouteChange) - EventBus.$once('joinedConversation', ({ token }) => { + EventBus.$on('route-change', this.onRouteChange) + EventBus.$once('joined-conversation', ({ token }) => { this.scrollToConversation(token) }) }, beforeDestroy() { - EventBus.$off('routeChange', this.onRouteChange) + EventBus.$off('route-change', this.onRouteChange) }, methods: { |