diff options
-rw-r--r-- | conf/app.ini | 2 | ||||
-rw-r--r-- | modules/setting/setting.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/app.ini b/conf/app.ini index 104d530f..19c5c7a9 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -268,7 +268,7 @@ DISABLE_GRAVATAR = false ; Federated avatar lookup uses DNS to discover avatar associated ; with emails, see https://www.libravatar.org ; This value will be forced to be false in offline mode or Gravatar is disbaled. -ENABLE_FEDERATED_AVATAR = false +ENABLE_FEDERATED_AVATAR = true [attachment] ; Whether attachments are enabled. Defaults to `true` diff --git a/modules/setting/setting.go b/modules/setting/setting.go index efc82474..5749efa4 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -532,7 +532,7 @@ func NewContext() { GravatarSource = source } DisableGravatar = sec.Key("DISABLE_GRAVATAR").MustBool() - EnableFederatedAvatar = sec.Key("ENABLE_FEDERATED_AVATAR").MustBool() + EnableFederatedAvatar = sec.Key("ENABLE_FEDERATED_AVATAR").MustBool(true) if OfflineMode { DisableGravatar = true EnableFederatedAvatar = false |