Merge pull request #4921 from k9mail/decode_encrypted_subject

Decode encrypted subject
This commit is contained in:
cketti 2020-08-25 17:31:56 +02:00 committed by GitHub
commit fefe183d9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,7 +107,7 @@ public class MessageViewInfoExtractor {
boolean hasProtectedSubject = "v1".equalsIgnoreCase(protectedHeadersParam) && protectedSubjectHeader.length > 0;
if (hasProtectedSubject) {
return protectedSubjectHeader[0];
return MimeUtility.unfoldAndDecode(protectedSubjectHeader[0]);
}
return null;