mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-10-02 01:14:46 +08:00
fix(sending): Since we have a unique index on clientId, no need to delete draft after sending
This commit is contained in:
parent
b056ddd514
commit
182333e7f4
1 changed files with 0 additions and 3 deletions
|
@ -67,9 +67,6 @@ class SendDraftTask extends Task
|
|||
Actions.sendDraftSuccess
|
||||
draftClientId: @draftClientId
|
||||
newMessage: message
|
||||
DestroyDraftTask = require './destroy-draft'
|
||||
task = new DestroyDraftTask(draftClientId: @draftClientId)
|
||||
Actions.queueTask(task)
|
||||
return Promise.resolve(Task.Status.Finished)
|
||||
|
||||
.catch APIError, (err) =>
|
||||
|
|
Loading…
Add table
Reference in a new issue