summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-02-20 17:15:54 +0100
committerWim <wim@42.be>2018-02-20 17:15:54 +0100
commit4c506f7cc3661a901b79c1eacea5a04df62b500a (patch)
treebcbba6ceedf3eb4c36c9b3e4c709eee31f10cc83
parent7886f05e881e45303087a5ae116657f0f6164d81 (diff)
downloadmatterbridge-msglm-4c506f7cc3661a901b79c1eacea5a04df62b500a.tar.gz
matterbridge-msglm-4c506f7cc3661a901b79c1eacea5a04df62b500a.tar.bz2
matterbridge-msglm-4c506f7cc3661a901b79c1eacea5a04df62b500a.zip
Use MediaServerDownload instead of MediaServerUpload for avatars
-rw-r--r--bridge/helper/helper.go2
1 files changed, 1 insertions, 1 deletions
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 ""
}