Search indentity by Deliver-To header too

pull/146/head
M66B 6 years ago
parent 7ba1ace5b0
commit e2d8d0e014

@ -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);
}
}
}

Loading…
Cancel
Save