diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index 101b9017..4f9b7fc7 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -262,6 +262,15 @@ func (b *Bslack) handleSlackClient(mchan chan *MMMessage) { } m.Channel = channel.Name m.Text = ev.Text + if m.Text == "" { + for _, attach := range ev.Attachments { + if attach.Text != "" { + m.Text = attach.Text + } else { + m.Text = attach.Fallback + } + } + } m.Raw = ev m.Text = b.replaceMention(m.Text) if ev.BotID != "" {