Thumbnail

rani/matterbridge.git

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

commit 715d79a35ffa69b2244f72a8853b22304e4b0f04 Author: Wim <wim@42.be> Date: Sat Apr 21 20:49:44 2018 +0000 Update GetFileLinks to API_V4 diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go index afd445b..7da16eb 100644 --- a/matterclient/matterclient.go +++ b/matterclient/matterclient.go @@ -5747 +5747 @@ func (m *MMClient) GetFileLinks(filenames []string) []string {   res, resp := m.Client.GetFileLink(f)   if resp.Error != nil {   // public links is probably disabled, create the link ourselves - output = append(output, uriScheme+m.Credentials.Server+model.API_URL_SUFFIX_V3+"/files/"+f+"/get") + output = append(output, uriScheme+m.Credentials.Server+model.API_URL_SUFFIX_V4+"/files/"+f)   continue   }   output = append(output, res)