Improved message decoding

This commit is contained in:
M66B
2019-07-08 11:01:40 +02:00
parent b31df5d1a4
commit 0bee705e4d
2 changed files with 14 additions and 20 deletions

View File

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