mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-06-27 18:09:26 +00:00
Add ShowTopicChange option. Allow/disable topic change messages (currently only from slack). Closes #353
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user