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>2021-02-15 11:53:22 +0300
committerJoas Schilling <coding@schilljs.com>2021-02-15 11:53:22 +0300
commit790a7bb331a8506667c07465c462260394c324fe (patch)
treee2d40aebc9ab8ae311840f2091378040c7bafc68 /src/components/NewMessageForm
parente4d40f00955eb40a2d00cad0ac18d282ca77fc3c (diff)
Correctly remove temporary message from store when posting
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/components/NewMessageForm')
-rw-r--r--src/components/NewMessageForm/NewMessageForm.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/NewMessageForm/NewMessageForm.vue b/src/components/NewMessageForm/NewMessageForm.vue
index 174476e0e..db372fad0 100644
--- a/src/components/NewMessageForm/NewMessageForm.vue
+++ b/src/components/NewMessageForm/NewMessageForm.vue
@@ -300,7 +300,7 @@ export default {
clearTimeout(timeout)
// If successful, deletes the temporary message from the store
- this.$store.dispatch('deleteMessage', temporaryMessage)
+ this.$store.dispatch('removeTemporaryMessageFromStore', temporaryMessage)
// And adds the complete version of the message received
// by the server
this.$store.dispatch('processMessage', response.data.ocs.data)