mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-03 18:26:20 +00:00
Small improvement
This commit is contained in:
parent
0f5c63f7b9
commit
9ceb0c93b0
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue