added gravatar as well

This commit is contained in:
Arunoda Susiripala 2014-09-11 21:59:26 +05:30
parent 31428a8f3d
commit 9c21aca7d3

View file

@ -87,7 +87,8 @@ getAvatarUrl = function(user){
} else{
return Gravatar.getGravatar(user, {
d: 'http://demo.telesc.pe/img/default_avatar.png',
s: 80
s: 80,
secure: location.protocol == 'https:'
});
}
// deactivate twitter avatars for now until we find a better way using the Twitter API