summaryrefslogtreecommitdiffstats
path: root/src/components/LeftSidebar/ConversationsList/ConversationsList.vue
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-02-23 22:27:53 +0100
committerVincent Petry <vincent@nextcloud.com>2021-03-08 15:34:40 +0100
commit6929de8b6c7c3d5282bae20d9df5ee89144d914a (patch)
tree4d073f4ff847d0d8e36d2ff2f066dd63c0337b25 /src/components/LeftSidebar/ConversationsList/ConversationsList.vue
parentc4e739c9a12b5ebf26f6f12bf9bb19527334a84b (diff)
Don't mark conversation as read any more on click
When joining a conversation, don't mark it as read any more. The only moment will be when scrolling down to the bottom of a conversation and when clearing the read marker, in which case we immediately update the store. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/components/LeftSidebar/ConversationsList/ConversationsList.vue')
-rw-r--r--src/components/LeftSidebar/ConversationsList/ConversationsList.vue1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/components/LeftSidebar/ConversationsList/ConversationsList.vue b/src/components/LeftSidebar/ConversationsList/ConversationsList.vue
index be79aca56..66ac7251d 100644
--- a/src/components/LeftSidebar/ConversationsList/ConversationsList.vue
+++ b/src/components/LeftSidebar/ConversationsList/ConversationsList.vue
@@ -115,7 +115,6 @@ export default {
}
if (to.name === 'conversation') {
joinConversation(to.params.token)
- this.$store.dispatch('markConversationRead', to.params.token)
}
},