mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-04 07:10:06 +08:00
fix(send-draft): Include body when sending message in new send draft
logic
This commit is contained in:
parent
5675f24407
commit
2145627547
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class SendDraftTask extends Task
|
|||
.catch(@_onError)
|
||||
|
||||
_fetchLatestDraft: ->
|
||||
DatabaseStore.findBy(Message, clientId: @draftClientId).then (draftModel) =>
|
||||
DatabaseStore.findBy(Message, clientId: @draftClientId).include(Message.attributes.body).then (draftModel) =>
|
||||
@draftAccountId = draftModel.accountId
|
||||
@draftServerId = draftModel.serverId
|
||||
@draftVersion = draftModel.version
|
||||
|
|
Loading…
Reference in a new issue