From 1d6ab54435e275f43ae879dfba03ab5585ee32ad Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 2 Aug 2023 17:23:23 +0200 Subject: [PATCH] Display inline HTML parts --- app/src/main/java/eu/faircode/email/MessageHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java index f4717ffac0..6586784dfd 100644 --- a/app/src/main/java/eu/faircode/email/MessageHelper.java +++ b/app/src/main/java/eu/faircode/email/MessageHelper.java @@ -4973,7 +4973,7 @@ public class MessageHelper { String ct = contentType.getBaseType(); if (("text/plain".equalsIgnoreCase(ct) || "text/html".equalsIgnoreCase(ct)) && - !Part.ATTACHMENT.equalsIgnoreCase(disposition) && TextUtils.isEmpty(filename) && + !Part.ATTACHMENT.equalsIgnoreCase(disposition) && (size <= MAX_MESSAGE_SIZE || size == Integer.MAX_VALUE)) { parts.text.add(new PartHolder(part, contentType)); } else {