fix(send-draft): Include body when sending message in new send draft

logic
This commit is contained in:
Juan Tejada 2015-12-22 10:06:32 -08:00
parent 5675f24407
commit 2145627547

View file

@ -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