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