summaryrefslogtreecommitdiffstats
path: root/bridge/config
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-02-02 21:04:43 +0100
committerWim <wim@42.be>2018-02-02 21:08:13 +0100
commit67f625761785bdd1daf7101668f4853adacdd694 (patch)
treee37d7c7673aa3d0fcb9b5d68af517dfe41b11ecc /bridge/config
parent169c614489d34d282f814967e252d5630dc9ea9e (diff)
downloadmatterbridge-msglm-67f625761785bdd1daf7101668f4853adacdd694.tar.gz
matterbridge-msglm-67f625761785bdd1daf7101668f4853adacdd694.tar.bz2
matterbridge-msglm-67f625761785bdd1daf7101668f4853adacdd694.zip
Add ShowTopicChange option. Allow/disable topic change messages (currently only from slack). Closes #353
Diffstat (limited to 'bridge/config')
-rw-r--r--bridge/config/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go
index af3bf036..fdb6e55c 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -11,6 +11,7 @@ import (
const (
EVENT_JOIN_LEAVE = "join_leave"
+ EVENT_TOPIC_CHANGE = "topic_change"
EVENT_FAILURE = "failure"
EVENT_REJOIN_CHANNELS = "rejoin_channels"
EVENT_USER_ACTION = "user_action"
@@ -88,6 +89,7 @@ type Protocol struct {
RemoteNickFormat string // all protocols
Server string // IRC,mattermost,XMPP,discord
ShowJoinPart bool // all protocols
+ ShowTopicChange bool // slack
ShowEmbeds bool // discord
SkipTLSVerify bool // IRC, mattermost
StripNick bool // all protocols