Allow disabling Gravatar

Resolves #3600
This commit is contained in:
Francis Lachapelle committed 2016-05-25 16:07:40 -04:00
1 parent 9fc22f2689
commit a9ee261eff
12 files changed
+100 -35

No files matched your search

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