diff options
author | Brian V <kida001@gmail.com> | 2021-07-27 17:52:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 17:52:30 +0100 |
commit | 13bbeeaceb7bc2ad27c48deeff7a3536604564d5 (patch) | |
tree | 14fb94f766e60a2bbe4f7c53aa6cf2cd46fb614e /bridge/slack | |
parent | da4dcec14d7ea865d75cb84914c7c0507a1001d2 (diff) | |
download | matterbridge-msglm-13bbeeaceb7bc2ad27c48deeff7a3536604564d5.tar.gz matterbridge-msglm-13bbeeaceb7bc2ad27c48deeff7a3536604564d5.tar.bz2 matterbridge-msglm-13bbeeaceb7bc2ad27c48deeff7a3536604564d5.zip |
Add space before file upload comment (slack) (#1554)
Diffstat (limited to 'bridge/slack')
-rw-r--r-- | bridge/slack/slack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index 457312cd..5db0c33e 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -459,7 +459,7 @@ func (b *Bslack) uploadFile(msg *config.Message, channelID string) { b.cache.Add("filename"+fi.Name, ts) initialComment := fmt.Sprintf("File from %s", msg.Username) if fi.Comment != "" { - initialComment += fmt.Sprintf("with comment: %s", fi.Comment) + initialComment += fmt.Sprintf(" with comment: %s", fi.Comment) } res, err := b.sc.UploadFile(slack.FileUploadParameters{ Reader: bytes.NewReader(*fi.Data), |