fix caption for attachments when they are set

pull/1292/head
Audric Ackermann 5 years ago
parent 3c729388e0
commit 708a999ff6
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -75,6 +75,7 @@ export class AttachmentUtils {
size: attachment.size,
fileName: attachment.fileName,
flags: attachment.flags,
caption: attachment.caption,
};
let attachmentData: ArrayBuffer;

@ -250,6 +250,7 @@ export function getAlt(
export type Attachment = {
fileName?: string;
caption?: string;
flags?: SignalService.AttachmentPointer.Flags;
contentType?: MIME.MIMEType;
size?: number;

Loading…
Cancel
Save