From d9c1ae91c0b2630304a078c704b0c48eff4b59c2 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 1 Feb 2021 15:59:08 +0100 Subject: [PATCH] Skip declassification for neutral target folders --- app/src/main/java/eu/faircode/email/MessageClassifier.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/MessageClassifier.java b/app/src/main/java/eu/faircode/email/MessageClassifier.java index f6752337a8..51e9afd070 100644 --- a/app/src/main/java/eu/faircode/email/MessageClassifier.java +++ b/app/src/main/java/eu/faircode/email/MessageClassifier.java @@ -64,6 +64,9 @@ public class MessageClassifier { if (!folder.auto_classify_source) return; + if (target != null && !target.auto_classify_source) + return; + long start = new Date().getTime(); // Build text to classify