mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Added basic AMP support
This commit is contained in:
@@ -3025,6 +3025,7 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user