4
0
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:
Wim
2018-02-02 21:04:43 +01:00
parent 169c614489
commit 67f6257617
4 changed files with 74 additions and 11 deletions

View File

@ -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