Nested encryption is not supported

This commit is contained in:
M66B 2021-02-16 15:37:20 +01:00
parent 03d85eb86c
commit 267a4f4bbc
1 changed files with 2 additions and 0 deletions

View File

@ -6219,6 +6219,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
List<EntityAttachment> remotes = parts.getAttachments();
for (int index = 0; index < remotes.size(); index++) {
EntityAttachment remote = remotes.get(index);
if (remote.encryption != null)
continue;
remote.message = message.id;
remote.sequence = index + 1;
remote.id = db.attachment().insertAttachment(remote);