From a1c3ead732eabc82f1082d393245c4873842a5e4 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 3 Oct 2022 10:44:38 +0200 Subject: [PATCH] Skip auto block for not spam --- app/src/main/java/eu/faircode/email/EntityOperation.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/EntityOperation.java b/app/src/main/java/eu/faircode/email/EntityOperation.java index 66c64c9c45..2c04e703ef 100644 --- a/app/src/main/java/eu/faircode/email/EntityOperation.java +++ b/app/src/main/java/eu/faircode/email/EntityOperation.java @@ -228,6 +228,7 @@ public class EntityOperation { if (EntityFolder.JUNK.equals(target.type) && Objects.equals(source.account, target.account) && + !message.isNotJunk(context) && (jargs.opt(3) == null || !jargs.optBoolean(3))) { jargs.remove(3); EntityLog.log(context, "Auto block sender=" + MessageHelper.formatAddresses(message.from));