From 4c506f7cc3661a901b79c1eacea5a04df62b500a Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 20 Feb 2018 17:15:54 +0100 Subject: Use MediaServerDownload instead of MediaServerUpload for avatars --- bridge/helper/helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge') diff --git a/bridge/helper/helper.go b/bridge/helper/helper.go index 44052e11..8bb105a4 100644 --- a/bridge/helper/helper.go +++ b/bridge/helper/helper.go @@ -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 "" } -- cgit v1.2.3