Highlight mail-do domain name, refactoring

This commit is contained in:
M66B
2021-07-02 07:32:15 +02:00
parent 9dc7795320
commit 3449815e68
8 changed files with 71 additions and 24 deletions

View File

@@ -860,7 +860,7 @@ public class EntityRule {
int at = sender.indexOf('@');
if (at > 0) {
boolean whitelisted = false;
String domain = DnsHelper.getParentDomain(sender.substring(at + 1));
String domain = UriHelper.getParentDomain(sender.substring(at + 1));
for (String d : whitelist)
if (domain.matches(d)) {
whitelisted = true;