From 67f625761785bdd1daf7101668f4853adacdd694 Mon Sep 17 00:00:00 2001 From: Wim Date: Fri, 2 Feb 2018 21:04:43 +0100 Subject: Add ShowTopicChange option. Allow/disable topic change messages (currently only from slack). Closes #353 --- bridge/config/config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bridge/config/config.go') 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 -- cgit v1.2.3