diff options
Diffstat (limited to 'bridge/slack/slack.go')
-rw-r--r-- | bridge/slack/slack.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index 421cc6a3..f7001568 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -284,6 +284,9 @@ func (b *Bslack) handleSlack() { msg.Event = config.EVENT_MSG_DELETE msg.ID = "slack " + message.Raw.DeletedTimestamp } + if message.Raw.SubType == "channel_topic" { + msg.Event = config.EVENT_TOPIC_CHANGE + } // if we have a file attached, download it (in memory) and put a pointer to it in msg.Extra if message.Raw.File != nil { |