Consider "none" as low priority

pull/204/head
M66B 3 years ago
parent ed28127d9c
commit a8d50746eb

@ -1183,8 +1183,7 @@ public class MessageHelper {
priority = EntityMessage.PRIORITIY_HIGH; priority = EntityMessage.PRIORITIY_HIGH;
else if ("normal".equalsIgnoreCase(header) || else if ("normal".equalsIgnoreCase(header) ||
"medium".equalsIgnoreCase(header) || "medium".equalsIgnoreCase(header) ||
"med".equalsIgnoreCase(header) || "med".equalsIgnoreCase(header))
"none".equalsIgnoreCase(header))
priority = EntityMessage.PRIORITIY_NORMAL; priority = EntityMessage.PRIORITIY_NORMAL;
else if ("low".equalsIgnoreCase(header) || else if ("low".equalsIgnoreCase(header) ||
"lowest".equalsIgnoreCase(header) || "lowest".equalsIgnoreCase(header) ||
@ -1192,7 +1191,8 @@ public class MessageHelper {
"marketing".equalsIgnoreCase(header) || "marketing".equalsIgnoreCase(header) ||
"bulk".equalsIgnoreCase(header) || "bulk".equalsIgnoreCase(header) ||
"batch".equalsIgnoreCase(header) || "batch".equalsIgnoreCase(header) ||
"mass".equalsIgnoreCase(header)) "mass".equalsIgnoreCase(header) ||
"none".equalsIgnoreCase(header))
priority = EntityMessage.PRIORITIY_LOW; priority = EntityMessage.PRIORITIY_LOW;
else if ("a".equalsIgnoreCase(header) || else if ("a".equalsIgnoreCase(header) ||
"b".equalsIgnoreCase(header) || "b".equalsIgnoreCase(header) ||

Loading…
Cancel
Save