mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 18:13:24 +02:00
S/MIME: decrypt inner
This commit is contained in:
@@ -8610,7 +8610,7 @@ public class FragmentMessages extends FragmentBase
|
||||
if (chain == null || chain.length == 0)
|
||||
throw new IllegalArgumentException("Public key missing");
|
||||
|
||||
// Get encrypted message
|
||||
// Get last encrypted message
|
||||
File input = null;
|
||||
List<EntityAttachment> attachments = db.attachment().getAttachments(message.id);
|
||||
for (EntityAttachment attachment : attachments)
|
||||
@@ -8618,7 +8618,6 @@ public class FragmentMessages extends FragmentBase
|
||||
if (!attachment.available)
|
||||
throw new IllegalArgumentException(context.getString(R.string.title_attachments_missing));
|
||||
input = attachment.getFile(context);
|
||||
break;
|
||||
}
|
||||
|
||||
if (input == null)
|
||||
|
||||
Reference in New Issue
Block a user