Fixed not reply self

This commit is contained in:
M66B
2020-07-03 07:54:48 +02:00
parent aac81fdfde
commit 7f580feb38

View File

@@ -213,7 +213,9 @@ public class EntityMessage implements Serializable {
if (identities != null && senders != null)
for (Address sender : senders)
for (TupleIdentityEx identity : identities)
if (identity.account == account && identity.similarAddress(sender))
if (identity.account == account &&
identity.self &&
identity.similarAddress(sender))
return true;
return false;