mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-11 11:33:09 +02:00
Small improvement
This commit is contained in:
@@ -8937,7 +8937,9 @@ public class FragmentMessages extends FragmentBase
|
||||
Log.e(ex);
|
||||
}
|
||||
|
||||
if (!parts.hasBody() && remotes.size() == 1)
|
||||
if (!parts.hasBody() && remotes.size() == 1 &&
|
||||
("application/pkcs7-mime".equals(remote.type) ||
|
||||
"application/x-pkcs7-mime".equals(remote.type)))
|
||||
try (FileInputStream fos = new FileInputStream(remote.getFile(context))) {
|
||||
new CMSSignedData(fos).getSignedContent().getContent();
|
||||
signedData = true;
|
||||
|
||||
Reference in New Issue
Block a user