Accept full domain regex

Closes #181
pull/183/head
M66B 5 years ago
parent ff5c257c23
commit 3b780c32ef

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

Loading…
Cancel
Save