AMP improvements

This commit is contained in:
M66B
2022-02-13 12:27:10 +01:00
parent 8c433c4dbf
commit 2fbe0904cd
2 changed files with 2 additions and 1 deletions

View File

@@ -3025,7 +3025,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
List<EntityAttachment> a = new ArrayList<>();
for (EntityAttachment attachment : attachments) {
boolean inline = (attachment.isEncryption() ||
"text/x-amp-html".equals(attachment.type) ||
(attachment.isInline() && attachment.isImage()));
if (inline && attachment.available)
has_inline = true;