diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-01-14 12:12:29 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-01-14 12:15:40 +0300 |
commit | ec22be64468f3ccdd3ded165281ac8dff6783da2 (patch) | |
tree | dbc424ff9eeaefbd8dd67ae2e71aae77ef333b3e /src/FilesSidebarTabApp.vue | |
parent | 647f9aab2479c26fa51c7e2771d1d358aa0d08d5 (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.vue | 2 |
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) |