More priorities

pull/162/head
M66B 5 years ago
parent e7c569c2ec
commit 1d0a7b49ef

@ -534,11 +534,16 @@ public class MessageHelper {
header = header.substring(0, sp); // "2 (High)"
}
if ("high".equalsIgnoreCase(header) || "urgent".equalsIgnoreCase(header))
if ("high".equalsIgnoreCase(header) ||
"urgent".equalsIgnoreCase(header) ||
"critical".equalsIgnoreCase(header))
priority = EntityMessage.PRIORITIY_HIGH;
else if ("normal".equalsIgnoreCase(header) || "medium".equalsIgnoreCase(header))
else if ("normal".equalsIgnoreCase(header) ||
"medium".equalsIgnoreCase(header))
priority = EntityMessage.PRIORITIY_NORMAL;
else if ("low".equalsIgnoreCase(header) || "non-urgent".equalsIgnoreCase(header))
else if ("low".equalsIgnoreCase(header) ||
"non-urgent".equalsIgnoreCase(header) ||
"marketing".equalsIgnoreCase(header))
priority = EntityMessage.PRIORITIY_LOW;
else if (header != null)
try {

Loading…
Cancel
Save