mirror of https://github.com/M66B/FairEmail.git
Nested encryption is not supported
This commit is contained in:
parent
03d85eb86c
commit
267a4f4bbc
|
@ -6219,6 +6219,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
List<EntityAttachment> remotes = parts.getAttachments();
|
List<EntityAttachment> remotes = parts.getAttachments();
|
||||||
for (int index = 0; index < remotes.size(); index++) {
|
for (int index = 0; index < remotes.size(); index++) {
|
||||||
EntityAttachment remote = remotes.get(index);
|
EntityAttachment remote = remotes.get(index);
|
||||||
|
if (remote.encryption != null)
|
||||||
|
continue;
|
||||||
remote.message = message.id;
|
remote.message = message.id;
|
||||||
remote.sequence = index + 1;
|
remote.sequence = index + 1;
|
||||||
remote.id = db.attachment().insertAttachment(remote);
|
remote.id = db.attachment().insertAttachment(remote);
|
||||||
|
|
Loading…
Reference in New Issue