From 6ac66a6f04a2275001d02608e9b30b059173579e Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 7 Jun 2023 07:56:54 +0200 Subject: [PATCH] Revert "Prevent sending sub attachments" This reverts commit 9eeb406a289fda1dbed9d874397187c7bdc3b247. --- app/src/main/java/eu/faircode/email/MessageHelper.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java index c1cb7ce2fb..c59aac11a6 100644 --- a/app/src/main/java/eu/faircode/email/MessageHelper.java +++ b/app/src/main/java/eu/faircode/email/MessageHelper.java @@ -561,9 +561,6 @@ public class MessageHelper { imessage.addHeader("Auto-Submitted", "auto-replied"); List attachments = db.attachment().getAttachments(message.id); - for (EntityAttachment attachment : new ArrayList<>(attachments)) - if (attachment.subsequence != null) - attachments.remove(attachment); if (message.dsn == null || EntityMessage.DSN_NONE.equals(message.dsn)) { if (message.from != null && message.from.length > 0)