mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Use lower case email address from Gravatars
This commit is contained in:
@@ -180,7 +180,7 @@ public class ContactInfo {
|
||||
if (lookup) {
|
||||
HttpURLConnection urlConnection = null;
|
||||
try {
|
||||
String hash = Helper.md5(address.getAddress().getBytes());
|
||||
String hash = Helper.md5(address.getAddress().toLowerCase().getBytes());
|
||||
URL url = new URL("https://www.gravatar.com/avatar/" + hash + "?d=404");
|
||||
Log.i("Gravatar url=" + url);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user