mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Revert "Skip domain check for similar addresses"
This reverts commit 6b84531508.
This commit is contained in:
@@ -139,6 +139,10 @@ public class EntityIdentity {
|
||||
if (cother.length != 2 || cemail.length != 2)
|
||||
return false;
|
||||
|
||||
// Domain
|
||||
if (!cother[1].equalsIgnoreCase(cemail[1]))
|
||||
return false;
|
||||
|
||||
// User
|
||||
if (TextUtils.isEmpty(sender_extra_regex)) {
|
||||
String user = (cother[0].contains("+") ? cother[0].split("\\+")[0] : cother[0]);
|
||||
|
||||
Reference in New Issue
Block a user