From 5c3819970c00318c9c81e4f5f095987e8140675e Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 6 Apr 2019 08:24:01 +0200 Subject: [PATCH] Small improvement --- app/src/main/java/eu/faircode/email/Core.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index a14aa765d1..46860d54cf 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -1367,7 +1367,7 @@ class Core { } for (Address recipient : recipients) { - String email = ((InternetAddress) recipient).getAddress(); + String email = ((InternetAddress) recipient).getAddress().toLowerCase(); String name = ((InternetAddress) recipient).getPersonal(); Uri avatar = ContactInfo.getLookupUri(context, new Address[]{recipient}); EntityContact contact = db.contact().getContact(folder.account, type, email);