From 109983e65c31a7445692aa0038c5b040e77e0417 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 27 Jan 2022 09:42:44 +0100 Subject: [PATCH] Skip adding attachments of embedded messages --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 0f3cd2acb0..2fb7a0baba 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -4803,7 +4803,8 @@ public class FragmentCompose extends FragmentBase { int sequence = 0; List attachments = db.attachment().getAttachments(ref.id); for (EntityAttachment attachment : attachments) - if (!attachment.isEncryption() && + if (attachment.subsequence == null && + !attachment.isEncryption() && (cid.contains(attachment.cid) || !("reply".equals(action) || "reply_all".equals(action)))) { if (attachment.available) {