summaryrefslogtreecommitdiffstats
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 b4011b1b3e..d61b7fdb0f 100644
--- a/models/system/setting.go
+++ b/models/system/setting.go
@@ -267,7 +267,7 @@ func Init() error {
enableFederatedAvatar = false
}
- if disableGravatar || !enableFederatedAvatar {
+ if enableFederatedAvatar || !disableGravatar {
var err error
GravatarSourceURL, err = url.Parse(setting.GravatarSource)
if err != nil {