mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 09:03:56 +02:00
Match attachments by properties
This commit is contained in:
@@ -2182,7 +2182,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
List<EntityAttachment> attachments = db.attachment().getAttachments(draft.id);
|
||||
for (EntityAttachment attachment : attachments)
|
||||
if (!attachment.available)
|
||||
EntityOperation.queue(context, db, draft, EntityOperation.ATTACHMENT, attachment.sequence);
|
||||
EntityOperation.queue(context, db, draft, EntityOperation.ATTACHMENT, attachment.id);
|
||||
}
|
||||
|
||||
db.setTransactionSuccessful();
|
||||
|
||||
Reference in New Issue
Block a user