mirror of https://github.com/M66B/FairEmail.git
Fixed decoding of subject
This commit is contained in:
parent
8fb7b47f10
commit
f39d973b1f
|
@ -617,7 +617,6 @@ public class MessageHelper {
|
||||||
subject = MimeUtility.unfold(subject);
|
subject = MimeUtility.unfold(subject);
|
||||||
subject = new String(subject.getBytes(StandardCharsets.ISO_8859_1));
|
subject = new String(subject.getBytes(StandardCharsets.ISO_8859_1));
|
||||||
|
|
||||||
if (subject.startsWith("=?"))
|
|
||||||
try {
|
try {
|
||||||
subject = MimeUtility.decodeText(subject);
|
subject = MimeUtility.decodeText(subject);
|
||||||
} catch (UnsupportedEncodingException ex) {
|
} catch (UnsupportedEncodingException ex) {
|
||||||
|
|
Loading…
Reference in New Issue