Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 92f07979da533cd38674cb72737901208caae903 Author: Wim <wim@42.be> Date: Tue Feb 20 17:15:54 2018 +0000 Use MediaServerDownload instead of MediaServerUpload for avatars diff --git a/bridge/helper/helper.go b/bridge/helper/helper.go index 44052e1..8bb105a 100644 --- a/bridge/helper/helper.go +++ b/bridge/helper/helper.go @@ -577 +577 @@ 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 ""  }