We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55c6433 commit 0cca1e0Copy full SHA for 0cca1e0
models/system/setting.go
@@ -276,7 +276,7 @@ func Init() error {
276
}
277
278
279
- if enableFederatedAvatarSetting.GetValueBool() {
+ if GravatarSourceURL != nil && enableFederatedAvatarSetting.GetValueBool() {
280
LibravatarService = libravatar.New()
281
if GravatarSourceURL.Scheme == "https" {
282
LibravatarService.SetUseHTTPS(true)
0 commit comments