From 2145627547d60e1747efb76d4108dd47ecce77c4 Mon Sep 17 00:00:00 2001 From: Juan Tejada Date: Tue, 22 Dec 2015 10:06:32 -0800 Subject: [PATCH] fix(send-draft): Include body when sending message in new send draft logic --- src/flux/tasks/send-draft.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flux/tasks/send-draft.coffee b/src/flux/tasks/send-draft.coffee index 1db9c71e2..13dd62061 100644 --- a/src/flux/tasks/send-draft.coffee +++ b/src/flux/tasks/send-draft.coffee @@ -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