Ensure that caption is shown even for single-image message
This commit is contained in:
parent
c0be4718fc
commit
dc9f9dabfd
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue