mirror of https://github.com/M66B/FairEmail.git
Remove previously encrypted data
This commit is contained in:
parent
2af8c2efd8
commit
78005ab869
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue