summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-05-01 23:28:51 +0200
committerWim <wim@42.be>2022-05-01 23:28:51 +0200
commit888c8b9a845866730485a3a88c27027d0960d521 (patch)
treef71cc795136184af130df06499eb95c0fc663aec /bridge
parente775a8a22ee02de345b63de827e26719f97b2cec (diff)
downloadmatterbridge-msglm-888c8b9a845866730485a3a88c27027d0960d521.tar.gz
matterbridge-msglm-888c8b9a845866730485a3a88c27027d0960d521.tar.bz2
matterbridge-msglm-888c8b9a845866730485a3a88c27027d0960d521.zip
Add space between filename and URL (mattermost). Fixes #1820
Diffstat (limited to 'bridge')
-rw-r--r--bridge/mattermost/helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/mattermost/helpers.go b/bridge/mattermost/helpers.go
index 7bd766b0..23700a0c 100644
--- a/bridge/mattermost/helpers.go
+++ b/bridge/mattermost/helpers.go
@@ -206,7 +206,7 @@ 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
}
}
}