From 5d5a78c7196d50058c607e437158e91ff68bb2c0 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 13 Aug 2019 17:11:16 +0200 Subject: [PATCH] Disable subject mime folding --- app/src/main/java/eu/faircode/email/MessageHelper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java index 9beee402b2..dde5bf3728 100644 --- a/app/src/main/java/eu/faircode/email/MessageHelper.java +++ b/app/src/main/java/eu/faircode/email/MessageHelper.java @@ -694,6 +694,7 @@ public class MessageHelper { parts.add(new MimeTextPart(text.substring(i))); // Fold words to not break encoding + /* int p = 0; while (p + 1 < parts.size()) { MimeTextPart p1 = parts.get(p); @@ -705,6 +706,7 @@ public class MessageHelper { } else p++; } + */ StringBuilder sb = new StringBuilder(); for (MimeTextPart part : parts)