Add space between filename and URL (mattermost). Fixes #1820

This commit is contained in:
Wim 2022-05-01 23:28:51 +02:00
parent e775a8a22e
commit 888c8b9a84
No known key found for this signature in database
GPG Key ID: 5E423DA5C9AA63D4

View File

@ -206,7 +206,7 @@ func (b *Bmattermost) sendWebhook(msg config.Message) (string, error) {
for _, f := range msg.Extra["file"] { for _, f := range msg.Extra["file"] {
fi := f.(config.FileInfo) fi := f.(config.FileInfo)
if fi.URL != "" { if fi.URL != "" {
msg.Text += fi.URL msg.Text += " " + fi.URL
} }
} }
} }