mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 00:53:26 +02:00
Assume application/pgp-encrypted on missing protocol
This commit is contained in:
@@ -2384,7 +2384,7 @@ public class MessageHelper {
|
||||
} else if (part.isMimeType("multipart/encrypted")) {
|
||||
ContentType ct = new ContentType(part.getContentType());
|
||||
String protocol = ct.getParameter("protocol");
|
||||
if ("application/pgp-encrypted".equals(protocol)) {
|
||||
if ("application/pgp-encrypted".equals(protocol) || protocol == null) {
|
||||
Multipart multipart = (Multipart) part.getContent();
|
||||
if (multipart.getCount() == 2) {
|
||||
// Ignore header
|
||||
|
||||
Reference in New Issue
Block a user