Decode encrypted subject

This commit is contained in:
cketti 2020-08-25 17:15:00 +02:00
parent 753e03aa22
commit bdbd8d98b2

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;