mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 22:51:02 +00:00
Hide/remove pkcs7 attachments
This commit is contained in:
parent
fac632534f
commit
6029f03eda
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue