5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-24 18:25:40 +00:00

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

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 ""
}