Small changes

This commit is contained in:
RainLoop Team 2014-05-27 20:00:22 +04:00
parent 919fd19f8f
commit c6a9563d81
6 changed files with 46 additions and 13 deletions

View file

@ -56,10 +56,11 @@ AbstractCacheStorage.prototype.getUserPic = function (sEmail, fCallback)
sUrl = '' !== sService && this.oServices[sService] ? this.oServices[sService] : '';
}
if (this.bCapaGravatar && '' === sUrl)
if (this.bCapaGravatar && '' === sUrl && '' !== sEmailLower)
{
fCallback('//secure.gravatar.com/avatar/' + Utils.md5(sEmailLower) + '.jpg?s=80&d=mm', sEmail);
// fCallback('//secure.gravatar.com/avatar/' + Utils.md5(sEmailLower) + '.jpg?s=80&d=' +
// window.encodeURIComponent(RL.link().emptyFullContactPic()), sEmail);
}
else
{