diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-02-24 00:27:53 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-03-08 17:34:40 +0300 |
commit | 6929de8b6c7c3d5282bae20d9df5ee89144d914a (patch) | |
tree | 4d073f4ff847d0d8e36d2ff2f066dd63c0337b25 /src/PublicShareSidebar.vue | |
parent | c4e739c9a12b5ebf26f6f12bf9bb19527334a84b (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/PublicShareSidebar.vue')
-rw-r--r-- | src/PublicShareSidebar.vue | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/PublicShareSidebar.vue b/src/PublicShareSidebar.vue index 5f39cfd21..451daf5df 100644 --- a/src/PublicShareSidebar.vue +++ b/src/PublicShareSidebar.vue @@ -203,7 +203,6 @@ export default { try { const response = await fetchConversation(this.token) this.$store.dispatch('addConversation', response.data.ocs.data) - this.$store.dispatch('markConversationRead', this.token) // Although the current participant is automatically added to // the participants store it must be explicitly set in the |