Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-04-13 11:21:19 +0300
committerJoas Schilling <coding@schilljs.com>2022-04-13 11:22:02 +0300
commit37172f9235d3f8d92f5df266365784fe8c1e0555 (patch)
tree03fa4382052aaad78d55b675182a02d4827c1547
parent4ea29e56d74632386577b4f27876ebaa000fed5c (diff)
Also show "unread mention" marker without scrolling
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--src/components/LeftSidebar/LeftSidebar.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/LeftSidebar/LeftSidebar.vue b/src/components/LeftSidebar/LeftSidebar.vue
index 6556b59e9..e06f1cccd 100644
--- a/src/components/LeftSidebar/LeftSidebar.vue
+++ b/src/components/LeftSidebar/LeftSidebar.vue
@@ -258,12 +258,14 @@ export default {
}, 30000)
EventBus.$on('should-refresh-conversations', this.debounceFetchConversations)
+ EventBus.$once('conversations-received', this.handleUnreadMention)
this.mountArrowNavigation()
},
beforeDestroy() {
EventBus.$off('should-refresh-conversations', this.debounceFetchConversations)
+ EventBus.$off('conversations-received', this.handleUnreadMention)
this.cancelSearchPossibleConversations()
this.cancelSearchPossibleConversations = null