Also show inline images as attachments

This commit is contained in:
the-djmaze 2022-10-03 16:04:39 +02:00
parent 7f63a1e82d
commit da451ed369
4 changed files with 5 additions and 11 deletions

View file

@ -150,7 +150,8 @@ export class MessageModel extends AbstractModel {
this.addComputables({
attachmentIconClass: () => FileInfo.getAttachmentsIconClass(this.attachments()),
threadsLen: () => this.threads().length,
hasAttachments: () => this.attachments().hasVisible(),
// hasAttachments: () => this.attachments().filter(item => !item.isLinked()).length,
hasAttachments: () => this.attachments().length,
isUnseen: () => !this.flags().includes('\\seen'),
isFlagged: () => this.flags().includes('\\flagged'),