Removed identity/self option

This commit is contained in:
M66B 2020-07-04 10:39:55 +02:00
parent fe7b30a6f2
commit 9195fc048d
3 changed files with 3 additions and 4 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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" />