Thumbnail

rani/matterbridge.git

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

commit d6f26cf130837fc27d8cdb3b7dadb63b5e0daeb8 Author: Wim <wim@42.be> Date: Sun May 01 23:28:51 2022 +0000 Add space between filename and URL (mattermost). Fixes #1820 diff --git a/bridge/mattermost/helpers.go b/bridge/mattermost/helpers.go index 7bd766b..23700a0 100644 --- a/bridge/mattermost/helpers.go +++ b/bridge/mattermost/helpers.go @@ -2067 +2067 @@ func (b *Bmattermost) sendWebhook(msg config.Message) (string, error) {   for _, f := range msg.Extra["file"] {   fi := f.(config.FileInfo)   if fi.URL != "" { - msg.Text += fi.URL + msg.Text += " " + fi.URL   }   }   }