Allow disabling Gravatar

Resolves #3600
This commit is contained in:
Francis Lachapelle
2016-05-25 16:04:58 -04:00
parent 9fc22f2689
commit a9ee261eff
12 changed files with 100 additions and 35 deletions
@@ -60,7 +60,8 @@
if (email && vm.urlEmail != email) {
// Email has changed or doesn't match the current URL (this happens when using md-virtual-repeat)
showGenericAvatar();
getGravatar(email);
if (Preferences.defaults.SOGoGravatarEnabled)
getGravatar(email);
}
else if (!email)
showGenericAvatar();