Fixed issue where message attachments were empty if text came through on fallback (#2395)

This commit is contained in:
Chris Duarte 2018-11-29 10:41:22 -08:00 committed by Elias Nahum
parent 123c8b9ad1
commit 4177e16b62
No known key found for this signature in database
GPG key ID: E038DB71E0B61702

View file

@ -99,7 +99,7 @@ export default class MessageAttachment extends PureComponent {
navigator={navigator}
onPermalinkPress={onPermalinkPress}
textStyles={textStyles}
value={attachment.text}
value={attachment.text || attachment.fallback}
/>
<AttachmentFields
baseTextStyle={baseTextStyle}