mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 07:01:05 +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() {
|
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);
|
return (encryption != null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue