Small behavior improvement

pull/184/head
M66B 5 years ago
parent 2e5339ed8a
commit c5d6255e81

@ -2324,7 +2324,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
for (EntityAttachment attachment : attachments) { for (EntityAttachment attachment : attachments) {
boolean inline = (attachment.isEncryption() || boolean inline = (attachment.isEncryption() ||
(attachment.isInline() && attachment.isImage())); (attachment.isInline() && attachment.isImage()));
if (inline) if (inline && attachment.available)
has_inline = true; has_inline = true;
if (attachment.progress == null && !attachment.available) if (attachment.progress == null && !attachment.available)
download = true; download = true;

Loading…
Cancel
Save