mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-20 22:23:53 +08:00
fix(send-draft): Include body when sending message in new send draft
logic
This commit is contained in:
parent
64ae82a7e2
commit
c6a7659528
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