diff options
author | Joas Schilling <coding@schilljs.com> | 2020-02-07 14:40:17 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-02-07 14:40:17 +0100 |
commit | dc994d22727468058c7912d8377f39395c5b1886 (patch) | |
tree | 73d8c192fc6a84b096013c973660371feb21380c /src/PublicShareAuthSidebar.vue | |
parent | e404a417f7c077ab022b80a35f23a3eabcdfc99f (diff) |
Also mark the chat read immediatelly
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/PublicShareAuthSidebar.vue')
-rw-r--r-- | src/PublicShareAuthSidebar.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PublicShareAuthSidebar.vue b/src/PublicShareAuthSidebar.vue index 888730021..c35f8bb6a 100644 --- a/src/PublicShareAuthSidebar.vue +++ b/src/PublicShareAuthSidebar.vue @@ -156,6 +156,7 @@ export default { try { const response = await fetchConversation(this.token) this.$store.dispatch('addConversation', response.data.ocs.data) + this.$store.dispatch('markConversationRead', this.item.token) // Although the current participant is automatically added to // the participants store it must be explicitly set in the |