mirror of https://github.com/M66B/FairEmail.git
Fixed reply self
This commit is contained in:
parent
b6bbe9fdc9
commit
e2db164ce9
|
@ -163,8 +163,9 @@ public class EntityMessage implements Serializable {
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean replySelf(List<TupleIdentityEx> identities) {
|
boolean replySelf(List<TupleIdentityEx> identities) {
|
||||||
if (identities != null && from != null)
|
Address[] senders = (reply == null || reply.length == 0 ? from : reply);
|
||||||
for (Address sender : from)
|
if (identities != null && senders != null)
|
||||||
|
for (Address sender : senders)
|
||||||
for (TupleIdentityEx identity : identities)
|
for (TupleIdentityEx identity : identities)
|
||||||
if (identity.similarAddress(sender))
|
if (identity.similarAddress(sender))
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue