mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Highlight mail-do domain name, refactoring
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user