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>2020-02-07 16:40:17 +0300
committerJoas Schilling <coding@schilljs.com>2020-02-07 16:40:17 +0300
commitdc994d22727468058c7912d8377f39395c5b1886 (patch)
tree73d8c192fc6a84b096013c973660371feb21380c /src/PublicShareSidebar.vue
parente404a417f7c077ab022b80a35f23a3eabcdfc99f (diff)
Also mark the chat read immediatelly
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/PublicShareSidebar.vue')
-rw-r--r--src/PublicShareSidebar.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PublicShareSidebar.vue b/src/PublicShareSidebar.vue
index 6cf714a93..949fec662 100644
--- a/src/PublicShareSidebar.vue
+++ b/src/PublicShareSidebar.vue
@@ -193,6 +193,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