Small improvement

pull/157/head
M66B 6 years ago
parent 3ff91764d8
commit f2ddefc150

@ -3704,7 +3704,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
// Remove previously decrypted attachments
for (EntityAttachment local : attachments)
if (local.encryption == null)
if (local.encryption == null && !"application/pgp-encrypted".equals(local.type))
db.attachment().deleteAttachment(local.id);
int sequence = db.attachment().getAttachmentSequence(id);

Loading…
Cancel
Save