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;
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) ||

Loading…
Cancel
Save