Remove previously encrypted data

This commit is contained in:
M66B
2018-10-29 08:14:12 +00:00
parent 2af8c2efd8
commit 78005ab869

View File

@@ -578,6 +578,10 @@ public class FragmentCompose extends FragmentEx {
try {
db.beginTransaction();
for (EntityAttachment attachment : db.attachment().getAttachments(id))
if ("encrypted.asc".equals(attachment.name) || "signature.asc".equals(attachment.name))
db.attachment().deleteAttachment(attachment.id);
int seq = db.attachment().getAttachmentSequence(id);
attachment1.message = id;