diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-04-06 12:14:46 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-04-06 12:14:46 +0300 |
commit | 5c988afa323d54216b88cbf188d330fc0b8ab5e4 (patch) | |
tree | 2ea233d61d372c19be52c5cf210596a5687dd0f1 /src | |
parent | 00ba39b03976a66f338c652820628a02e71ee6fa (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.vue | 4 |
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) { |