mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-13 08:12:02 +01:00
Lower case with root locale
This commit is contained in:
@@ -2826,9 +2826,9 @@ public class MessageHelper {
|
||||
String email1 = ((InternetAddress) a1).getAddress();
|
||||
String email2 = ((InternetAddress) a2).getAddress();
|
||||
if (email1 != null)
|
||||
email1 = email1.toLowerCase();
|
||||
email1 = email1.toLowerCase(Locale.ROOT);
|
||||
if (email2 != null)
|
||||
email2 = email2.toLowerCase();
|
||||
email2 = email2.toLowerCase(Locale.ROOT);
|
||||
return Objects.equals(email1, email2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user