diff --git a/src/components/LeftSidebar/LeftSidebar.vue b/src/components/LeftSidebar/LeftSidebar.vue index 030bd16b1a6..2f6d16da5f0 100644 --- a/src/components/LeftSidebar/LeftSidebar.vue +++ b/src/components/LeftSidebar/LeftSidebar.vue @@ -577,11 +577,6 @@ export default { if (to.name === 'conversation') { this.$store.dispatch('joinConversation', { token: to.params.token }) } - }, - - handleJoinedConversation({ token }) { - this.abortSearch() - this.scrollToConversation(token) if (this.isMobile) { emit('toggle-navigation', { open: false, @@ -589,6 +584,11 @@ export default { } }, + handleJoinedConversation({ token }) { + this.abortSearch() + this.scrollToConversation(token) + }, + iconData(item) { if (item.source === 'users') { return {