fix(composer): Attachment check ignores uploads. Fixes #1190

This commit is contained in:
Ben Gotow 2016-02-02 10:15:14 -08:00
parent 6a14d5b561
commit 11429727f9

View file

@ -691,7 +691,7 @@ class ComposerView extends React.Component
bodyIsEmpty = draft.body is @_proxy.draftPristineBody()
forwarded = Utils.isForwardedMessage(draft)
hasAttachment = (draft.files ? []).length > 0
hasAttachment = (draft.files ? []).length > 0 or (draft.uploads ? []).length > 0
warnings = []