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

@ -20,13 +20,6 @@ export class AttachmentCollectionModel extends AbstractCollectionModel
*/
}
/**
* @returns {boolean}
*/
hasVisible() {
return !!this.filter(item => !item.isLinked()).length;
}
/**
* @param {string} cid
* @returns {*}