summaryrefslogtreecommitdiffstats
path: root/bridge/config
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-06-18 01:08:11 +0200
committerWim <wim@42.be>2017-06-18 01:08:11 +0200
commit25b1af1e110afc72630027b8957f3bdaedfa943f (patch)
tree871bae657d215b29704539ea1661103efc44f0a1 /bridge/config
parent75fb2b8156e939385f5163215a9eee0e5fe17dee (diff)
downloadmatterbridge-msglm-25b1af1e110afc72630027b8957f3bdaedfa943f.tar.gz
matterbridge-msglm-25b1af1e110afc72630027b8957f3bdaedfa943f.tar.bz2
matterbridge-msglm-25b1af1e110afc72630027b8957f3bdaedfa943f.zip
Add option IgnoreMessages to ignore messages based on regexp. (all). Closes #70
Diffstat (limited to 'bridge/config')
-rw-r--r--bridge/config/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go
index 4b3c4250..f79c40d0 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -44,6 +44,7 @@ type Protocol struct {
EditDisable bool // mattermost, slack, discord, telegram, gitter
IconURL string // mattermost, slack
IgnoreNicks string // all protocols
+ IgnoreMessages string // all protocols
Jid string // xmpp
Login string // mattermost, matrix
Muc string // xmpp