Browse Source

Remove previously encrypted data

main
M66B 5 years ago
parent
commit
78005ab869
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      app/src/main/java/eu/faircode/email/FragmentCompose.java

+ 4
- 0
app/src/main/java/eu/faircode/email/FragmentCompose.java 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;


Loading…
Cancel
Save