1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Check public key email using ignore case sensitivity

This commit is contained in:
Julian Raufelder 2020-11-14 15:23:01 +01:00
parent ceb00f7d91
commit 5fb3691c23
No known key found for this signature in database
GPG key ID: 17EE71F6634E381D

View file

@ -2731,7 +2731,7 @@ public class FragmentCompose extends FragmentBase {
boolean known = false;
List<String> emails = EntityCertificate.getEmailAddresses(chain[0]);
for (String email : emails)
if (email.equals(identity.email)) {
if (email.equalsIgnoreCase(identity.email)) {
known = true;
break;
}