mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 11:28:41 +01:00
Fixed reply self
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user