Revert "Prevent sending sub attachments"

This reverts commit 9eeb406a28.
This commit is contained in:
M66B 2023-06-07 07:56:54 +02:00
parent 57c19b05f3
commit 6ac66a6f04
1 changed files with 0 additions and 3 deletions

View File

@ -561,9 +561,6 @@ public class MessageHelper {
imessage.addHeader("Auto-Submitted", "auto-replied");
List<EntityAttachment> 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)