Don't thumbnail message inline images and show filename in title attribute

This commit is contained in:
the-djmaze 2022-10-06 23:43:24 +02:00
parent 13f20cbeb0
commit f488212c3d
5 changed files with 18 additions and 6 deletions

View file

@ -308,6 +308,7 @@ export const
attachment = findAttachmentByCid(value);
if (attachment?.download) {
oElement.src = attachment.linkPreview();
oElement.title += ' ('+attachment.fileName+')';
attachment.isInline(true);
attachment.isLinked(true);
}