mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-30 01:21:11 +01:00
Remove previously encrypted data
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user