mirror of https://github.com/M66B/FairEmail.git
Removed identity/self option
This commit is contained in:
parent
fe7b30a6f2
commit
9195fc048d
|
@ -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);
|
||||
|
||||
|
|
|
@ -546,6 +546,7 @@
|
|||
android:layout_marginTop="12dp"
|
||||
android:checked="true"
|
||||
android:text="@string/title_self_identity"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/cbPrimary" />
|
||||
|
||||
|
@ -825,7 +826,7 @@
|
|||
tvUser,etUser,tvPassword,tilPassword,tvCaseSensitiveHint,btnCertificate,tvCertificate,btnOAuth,
|
||||
tvRealm,etRealm,
|
||||
cbUseIp,tvUseIpHint,tvEhlo,etEhlo,
|
||||
cbSynchronize,cbPrimary,cbSelf,
|
||||
cbSynchronize,cbPrimary,
|
||||
cbSenderExtra,tvSenderExtra,etSenderExtra,tvSenderExtraHint,
|
||||
tvReplyTo,etReplyTo,tvCc,etCc,tvCcHint,tvBcc,etBcc,tvBccHint,
|
||||
cbUnicode,tvMaxSize,etMaxSize" />
|
||||
|
|
Loading…
Reference in New Issue