diff options
Diffstat (limited to 'bridge/slack')
-rw-r--r-- | bridge/slack/slack.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index 1fcfa32a..417a4330 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -503,7 +503,10 @@ func (b *Bslack) handleMessageEvent(ev *slack.MessageEvent) (*config.Message, er if rmsg.Text == "" { for _, attach := range ev.Attachments { if attach.Text != "" { - rmsg.Text = attach.Text + if attach.Title != "" { + rmsg.Text = attach.Title + "\n" + } + rmsg.Text += attach.Text } else { rmsg.Text = attach.Fallback } |