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 32e8634 commit fdbb0b4Copy full SHA for fdbb0b4
models/system/setting.go
@@ -275,7 +275,7 @@ func Init() error {
275
}
276
277
278
- if enableFederatedAvatarSetting.GetValueBool() {
+ if GravatarSourceURL != nil && enableFederatedAvatarSetting.GetValueBool() {
279
LibravatarService = libravatar.New()
280
if GravatarSourceURL.Scheme == "https" {
281
LibravatarService.SetUseHTTPS(true)
0 commit comments