Use email as key for icons

This commit is contained in:
M66B 2019-10-11 10:01:03 +02:00
parent 79b20ce1b6
commit 975a5e6bd3
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ public class ContactInfo {
return new ContactInfo();
InternetAddress address = (InternetAddress) addresses[0];
String key = MessageHelper.formatAddresses(new Address[]{address});
String key = address.getAddress();
synchronized (emailContactInfo) {
ContactInfo info = emailContactInfo.get(key);
if (info != null && !info.isExpired())