mirror of https://github.com/M66B/FairEmail.git
Check public key email using ignore case sensitivity
This commit is contained in:
parent
ceb00f7d91
commit
5fb3691c23
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue