mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-31 10:01:22 +01:00
Search indentity by Deliver-To header too
This commit is contained in:
@@ -1879,6 +1879,11 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
identity = db.identity().getIdentity(folder.account, to);
|
||||
if (identity == null)
|
||||
identity = db.identity().getIdentity(folder.account, Helper.canonicalAddress(to));
|
||||
if (identity == null) {
|
||||
to = helper.getDeliveredTo();
|
||||
if (!TextUtils.isEmpty(to))
|
||||
identity = db.identity().getIdentity(folder.account, to);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user