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 390fbb039d
commit ea9794f272

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}