Hide/remove pkcs7 attachments

pull/198/head
M66B 3 years ago
parent fac632534f
commit 6029f03eda

@ -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…
Cancel
Save