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

Merge pull request #188 from SailReal/master

Check public key email using ignore case sensitivity
This commit is contained in:
Marcel Bokhorst 2020-11-14 15:28:29 +01:00 committed by GitHub
commit ba4b0d7c36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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