From a8d50746ebaaf01b3e9c83e019b1e391f609db0d Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 24 Aug 2021 08:21:49 +0200 Subject: [PATCH] Consider "none" as low priority --- app/src/main/java/eu/faircode/email/MessageHelper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java index a708b85aeb..8dc51fbc40 100644 --- a/app/src/main/java/eu/faircode/email/MessageHelper.java +++ b/app/src/main/java/eu/faircode/email/MessageHelper.java @@ -1183,8 +1183,7 @@ public class MessageHelper { priority = EntityMessage.PRIORITIY_HIGH; else if ("normal".equalsIgnoreCase(header) || "medium".equalsIgnoreCase(header) || - "med".equalsIgnoreCase(header) || - "none".equalsIgnoreCase(header)) + "med".equalsIgnoreCase(header)) priority = EntityMessage.PRIORITIY_NORMAL; else if ("low".equalsIgnoreCase(header) || "lowest".equalsIgnoreCase(header) || @@ -1192,7 +1191,8 @@ public class MessageHelper { "marketing".equalsIgnoreCase(header) || "bulk".equalsIgnoreCase(header) || "batch".equalsIgnoreCase(header) || - "mass".equalsIgnoreCase(header)) + "mass".equalsIgnoreCase(header) || + "none".equalsIgnoreCase(header)) priority = EntityMessage.PRIORITIY_LOW; else if ("a".equalsIgnoreCase(header) || "b".equalsIgnoreCase(header) ||