aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/system/setting.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/system/setting.go b/models/system/setting.go
index dc6145b417..6f333d6fd1 100644
--- a/models/system/setting.go
+++ b/models/system/setting.go
@@ -266,7 +266,7 @@ func Init() error {
enableFederatedAvatar = false
}
- if disableGravatar || !enableFederatedAvatar {
+ if enableFederatedAvatar || !disableGravatar {
var err error
GravatarSourceURL, err = url.Parse(setting.GravatarSource)
if err != nil {