TF-2930 Fix inline attachment lost in draft emails
This commit is contained in:
@@ -151,8 +151,6 @@ extension EmailExtension on Email {
|
||||
|
||||
List<Attachment> get allAttachments => attachments?.map((item) => item.toAttachment()).toList() ?? [];
|
||||
|
||||
List<Attachment> get attachmentsWithCid => allAttachments.where((attachment) => attachment.hasCid()).toList();
|
||||
|
||||
PresentationMailbox? findMailboxContain(Map<MailboxId, PresentationMailbox> mapMailbox) {
|
||||
final newMailboxIds = mailboxIds;
|
||||
newMailboxIds?.removeWhere((key, value) => !value);
|
||||
|
||||
Reference in New Issue
Block a user