mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 10:03:51 +02:00
Check public key email using ignore case sensitivity
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user