diff options
author | Wim <wim@42.be> | 2018-02-20 17:15:54 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-02-20 17:15:54 +0100 |
commit | 4c506f7cc3661a901b79c1eacea5a04df62b500a (patch) | |
tree | bcbba6ceedf3eb4c36c9b3e4c709eee31f10cc83 /bridge/helper | |
parent | 7886f05e881e45303087a5ae116657f0f6164d81 (diff) | |
download | matterbridge-msglm-4c506f7cc3661a901b79c1eacea5a04df62b500a.tar.gz matterbridge-msglm-4c506f7cc3661a901b79c1eacea5a04df62b500a.tar.bz2 matterbridge-msglm-4c506f7cc3661a901b79c1eacea5a04df62b500a.zip |
Use MediaServerDownload instead of MediaServerUpload for avatars
Diffstat (limited to 'bridge/helper')
-rw-r--r-- | bridge/helper/helper.go | 2 |
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 "" } |