Small behavior improvement

This commit is contained in:
M66B 2020-07-26 08:32:16 +02:00
parent 2e5339ed8a
commit c5d6255e81
1 changed files with 1 additions and 1 deletions

View File

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