From 5fb3691c23042991bfb40ef3274d91c659722a9f Mon Sep 17 00:00:00 2001 From: Julian Raufelder Date: Sat, 14 Nov 2020 15:23:01 +0100 Subject: [PATCH] Check public key email using ignore case sensitivity --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 58a2d6e583..f4fd1e1f8d 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -2731,7 +2731,7 @@ public class FragmentCompose extends FragmentBase { boolean known = false; List emails = EntityCertificate.getEmailAddresses(chain[0]); for (String email : emails) - if (email.equals(identity.email)) { + if (email.equalsIgnoreCase(identity.email)) { known = true; break; }