Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2022-04-06 12:14:46 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-04-06 12:14:46 +0300
commit5c988afa323d54216b88cbf188d330fc0b8ab5e4 (patch)
tree2ea233d61d372c19be52c5cf210596a5687dd0f1 /src
parent00ba39b03976a66f338c652820628a02e71ee6fa (diff)
Do not delete IMAP messages after sending an outbox message
Only IMAP messages has an IMAP draft. An outbox message doesn't have one. Thus we must not delete any message with the same (coincidental) ID. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'src')
-rw-r--r--src/components/OutboxComposer.vue4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/components/OutboxComposer.vue b/src/components/OutboxComposer.vue
index d88f83007..124846523 100644
--- a/src/components/OutboxComposer.vue
+++ b/src/components/OutboxComposer.vue
@@ -113,10 +113,6 @@ export default {
})
await this.$store.dispatch('outbox/sendMessage', { id: message.id })
-
- // Remove old draft envelope
- this.$store.commit('removeEnvelope', { id: data.draftId })
- this.$store.commit('removeMessage', { id: data.draftId })
},
async fetchOriginalMessage() {
if (this.templateMessageId === undefined) {