mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Removed identity/self option
This commit is contained in:
@@ -90,7 +90,7 @@ public class EntityIdentity {
|
||||
@NonNull
|
||||
public Boolean primary;
|
||||
@NonNull
|
||||
public Boolean self = true;
|
||||
public Boolean self = true; // obsolete
|
||||
@NonNull
|
||||
public Boolean sender_extra = false;
|
||||
public String sender_extra_regex;
|
||||
|
||||
@@ -214,7 +214,6 @@ public class EntityMessage implements Serializable {
|
||||
for (Address sender : senders)
|
||||
for (TupleIdentityEx identity : identities)
|
||||
if (identity.account == account &&
|
||||
identity.self &&
|
||||
identity.similarAddress(sender))
|
||||
return true;
|
||||
|
||||
@@ -235,7 +234,6 @@ public class EntityMessage implements Serializable {
|
||||
for (Address address : new ArrayList<>(addresses))
|
||||
for (TupleIdentityEx identity : identities)
|
||||
if (identity.account == account &&
|
||||
identity.self &&
|
||||
identity.similarAddress(address))
|
||||
addresses.remove(address);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user