Small improvement

pull/197/head
M66B 5 years ago
parent 0186043fc7
commit 80394b6f46

@ -166,7 +166,7 @@ public class EntityIdentity {
if (user.equalsIgnoreCase(cemail[0])) if (user.equalsIgnoreCase(cemail[0]))
return true; return true;
} else { } else {
String input = (sender_extra_regex.contains("@") ? other : cother[0]); String input = (sender_extra_regex.contains("@") ? other.toLowerCase() : cother[0]);
if (Pattern.matches(sender_extra_regex, input)) if (Pattern.matches(sender_extra_regex, input))
return true; return true;
} }

Loading…
Cancel
Save