Fixed protected header encoding

This commit is contained in:
M66B
2020-11-24 22:20:03 +01:00
parent 3af2de08f8
commit eab9dd1fd6
2 changed files with 10 additions and 2 deletions

View File

@@ -2336,7 +2336,7 @@ public class MessageHelper {
if ("v1".equals(ct.getParameter("protected-headers"))) {
String[] subject = part.getHeader("subject");
if (subject != null && subject.length != 0)
parts.protected_subject = subject[0];
parts.protected_subject = decodeMime(subject[0]);
}
} catch (Throwable ex) {
Log.e(ex);