diff --git a/src/components/LeftSidebar/LeftSidebar.vue b/src/components/LeftSidebar/LeftSidebar.vue index 36d604afa8b..1d5c91fbb26 100644 --- a/src/components/LeftSidebar/LeftSidebar.vue +++ b/src/components/LeftSidebar/LeftSidebar.vue @@ -583,11 +583,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, @@ -595,6 +590,11 @@ export default { } }, + handleJoinedConversation({ token }) { + this.abortSearch() + this.scrollToConversation(token) + }, + iconData(item) { if (item.source === 'users') { return {