Recognize S/MIME

This commit is contained in:
M66B
2019-12-02 08:35:09 +01:00
parent 973273e913
commit b39a7e852d
8 changed files with 66 additions and 36 deletions

View File

@@ -1604,7 +1604,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
has_inline = true;
if (Objects.equals(attachment.encryption, EntityAttachment.PGP_MESSAGE))
is_encrypted = true;
if (Objects.equals(attachment.encryption, EntityAttachment.PGP_CONTENT))
if (Objects.equals(attachment.encryption, EntityAttachment.PGP_SIGNATURE))
is_signed = true;
if (attachment.progress == null && !attachment.available)
download = true;