mirror of https://github.com/M66B/FairEmail.git
Use lower case email address from Gravatars
This commit is contained in:
parent
57ba228975
commit
ac595df4a6
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue