mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Small improvement
This commit is contained in:
@@ -1337,6 +1337,8 @@ public class EntityRule {
|
||||
boolean regex = false;
|
||||
if (block_domain) {
|
||||
String domain = UriHelper.getEmailDomain(sender);
|
||||
if (domain != null)
|
||||
domain = domain.trim();
|
||||
if (!TextUtils.isEmpty(domain) && !domains.contains(domain)) {
|
||||
String parent = UriHelper.getParentDomain(context, domain);
|
||||
if (parent != null)
|
||||
|
||||
Reference in New Issue
Block a user