1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-28 08:46:01 +00:00

Hide encryption attachments

This commit is contained in:
M66B 2019-12-04 08:38:08 +01:00
parent c28a786777
commit 85fc6494d3

View file

@ -1612,7 +1612,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
List<EntityAttachment> a = new ArrayList<>();
for (EntityAttachment attachment : attachments) {
boolean inline = (attachment.isInline() && attachment.isImage());
boolean inline = ((attachment.isInline() && attachment.isImage()) || attachment.encryption != null);
if (inline)
has_inline = true;
if (attachment.progress == null && !attachment.available)