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:
commit
ba4b0d7c36
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue