1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-02 13:14:39 +00:00

Skip adding attachments of embedded messages

This commit is contained in:
M66B 2022-01-27 09:42:44 +01:00
parent e4f4eccfce
commit 109983e65c

View file

@ -4803,7 +4803,8 @@ public class FragmentCompose extends FragmentBase {
int sequence = 0;
List<EntityAttachment> 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) {