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:
authorVincent Petry <vincent@nextcloud.com>2021-01-14 12:12:29 +0300
committerVincent Petry <vincent@nextcloud.com>2021-01-14 12:15:40 +0300
commitec22be64468f3ccdd3ded165281ac8dff6783da2 (patch)
treedbc424ff9eeaefbd8dd67ae2e71aae77ef333b3e /src/FilesSidebarTabApp.vue
parent647f9aab2479c26fa51c7e2771d1d358aa0d08d5 (diff)
Simplify deleteConversation store action
Merge deleteConversation that takes a conversation object with deleteConversationByToken since only the token is needed anyway. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/FilesSidebarTabApp.vue')
-rw-r--r--src/FilesSidebarTabApp.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FilesSidebarTabApp.vue b/src/FilesSidebarTabApp.vue
index 4e2d381b9..ed2cdb2b0 100644
--- a/src/FilesSidebarTabApp.vue
+++ b/src/FilesSidebarTabApp.vue
@@ -216,7 +216,7 @@ export default {
// Remove the conversation to ensure that the old data is not used
// before fetching it again if this conversation is joined again.
- this.$store.dispatch('deleteConversationByToken', this.token)
+ this.$store.dispatch('deleteConversation', this.token)
// Remove the participant to ensure that it will be set again fresh
// if this conversation is joined again.
this.$store.dispatch('purgeParticipantsStore', this.token)