Ensure that caption is shown even for single-image message
This commit is contained in:
@@ -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({
|
||||||
|
Reference in New Issue
Block a user