Ensure that caption is shown even for single-image message

pull/272/head
Scott Nonnenberg 6 years ago
parent c0be4718fc
commit dc9f9dabfd

@ -1205,6 +1205,7 @@
const props = { const props = {
objectURL: getAbsoluteAttachmentPath(path), objectURL: getAbsoluteAttachmentPath(path),
contentType, contentType,
caption: attachment.caption,
onSave: () => this.downloadAttachment({ attachment, message }), onSave: () => this.downloadAttachment({ attachment, message }),
}; };
this.lightboxView = new Whisper.ReactWrapperView({ this.lightboxView = new Whisper.ReactWrapperView({

Loading…
Cancel
Save