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) {
|
||||
if (identities != null && from != null)
|
||||
for (Address sender : from)
|
||||
Address[] senders = (reply == null || reply.length == 0 ? from : reply);
|
||||
if (identities != null && senders != null)
|
||||
for (Address sender : senders)
|
||||
for (TupleIdentityEx identity : identities)
|
||||
if (identity.similarAddress(sender))
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue