Use MediaServerDownload instead of MediaServerUpload for avatars

This commit is contained in:
Wim 2018-02-20 17:15:54 +01:00
parent 7886f05e88
commit 4c506f7cc3
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ func HandleExtra(msg *config.Message, general *config.Protocol) []config.Message
func GetAvatar(av map[string]string, userid string, general *config.Protocol) string {
if sha, ok := av[userid]; ok {
return general.MediaServerUpload + "/" + sha + "/" + userid + ".png"
return general.MediaServerDownload + "/" + sha + "/" + userid + ".png"
}
return ""
}