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/PublicShareSidebar.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/PublicShareSidebar.vue')
-rw-r--r--src/PublicShareSidebar.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PublicShareSidebar.vue b/src/PublicShareSidebar.vue
index 2ac74f62d..0b8a99e3f 100644
--- a/src/PublicShareSidebar.vue
+++ b/src/PublicShareSidebar.vue
@@ -215,7 +215,7 @@ export default {
} catch (exception) {
window.clearInterval(this.fetchCurrentConversationIntervalId)
- this.$store.dispatch('deleteConversationByToken', this.token)
+ this.$store.dispatch('deleteConversation', this.token)
this.$store.dispatch('updateToken', '')
}