Use lower case email address from Gravatars

This commit is contained in:
M66B 2020-01-26 08:47:37 +01:00
parent 57ba228975
commit ac595df4a6
1 changed files with 1 additions and 1 deletions

View File

@ -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);