mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Hide/remove pkcs7 attachments
This commit is contained in:
@@ -95,6 +95,14 @@ public class EntityAttachment {
|
||||
}
|
||||
|
||||
boolean isEncryption() {
|
||||
if ("application/pkcs7-mime".equals(type))
|
||||
return true;
|
||||
if ("application/x-pkcs7-mime".equals(type))
|
||||
return true;
|
||||
if ("application/pkcs7-signature".equals(type))
|
||||
return true;
|
||||
if ("application/x-pkcs7-signature".equals(type))
|
||||
return true;
|
||||
return (encryption != null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user