Hide encryption attachments

pull/168/head
M66B 5 years ago
parent c28a786777
commit 85fc6494d3

@ -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)

Loading…
Cancel
Save