From ede287098d8c991bc79535e89a6528ddce9b3844 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 5 May 2020 20:53:23 +0200 Subject: [PATCH] Skip download hidden small messages --- app/src/main/java/eu/faircode/email/Core.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 79bc96604d..05433d8c1f 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -2404,7 +2404,7 @@ class Core { updateContactInfo(context, folder, message); // Download small messages inline - if (download && message.size != null) { + if (download && message.size != null && !message.ui_hide) { long maxSize; if (state == null || state.networkState.isUnmetered()) maxSize = MessageHelper.SMALL_MESSAGE_SIZE; @@ -2432,7 +2432,6 @@ class Core { reportEmptyMessage(context, state, account, istore); } } - } else { if (process) { EntityIdentity identity = matchIdentity(context, folder, message);