From 84b869077f98638779d3b75f29b615c4385b78d5 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 25 Jul 2024 13:04:34 +0200 Subject: [PATCH] PGP: spaces should be stripped by the sender --- app/src/main/java/eu/faircode/email/MessageHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java index af731133ca..a986e1d7dd 100644 --- a/app/src/main/java/eu/faircode/email/MessageHelper.java +++ b/app/src/main/java/eu/faircode/email/MessageHelper.java @@ -6208,7 +6208,7 @@ public class MessageHelper { return false; } - if (EntityAttachment.PGP_CONTENT.equals(content) || boundary == null) + if (/*EntityAttachment.PGP_CONTENT.equals(content) ||*/ boundary == null) line = line.replaceAll(" +$", ""); os.write(line.getBytes(StandardCharsets.ISO_8859_1));