Add support for ignoring messages from specific users.
This commit is contained in:
parent
33844fa60c
commit
ff5aeeb1e1
|
@ -8,7 +8,7 @@ Requires mattermost 1.2.0+
|
||||||
There is also [matterbridge-plus] (https://github.com/42wim/matterbridge-plus) which uses the mattermost API and needs a dedicated user (bot). But requires no incoming/outgoing webhook setup.
|
There is also [matterbridge-plus] (https://github.com/42wim/matterbridge-plus) which uses the mattermost API and needs a dedicated user (bot). But requires no incoming/outgoing webhook setup.
|
||||||
|
|
||||||
## binaries
|
## binaries
|
||||||
Binaries can be found [here] (https://github.com/42wim/matterbridge/releases/tag/v0.4)
|
Binaries can be found [here] (https://github.com/42wim/matterbridge/releases/tag/v0.4.1)
|
||||||
|
|
||||||
## building
|
## building
|
||||||
Go 1.6+ is required. Make sure you have [Go](https://golang.org/doc/install) properly installed, including setting up your [GOPATH] (https://golang.org/doc/code.html#GOPATH)
|
Go 1.6+ is required. Make sure you have [Go](https://golang.org/doc/install) properly installed, including setting up your [GOPATH] (https://golang.org/doc/code.html#GOPATH)
|
||||||
|
@ -56,6 +56,8 @@ SkipTLSVerify=true
|
||||||
nick="matterbot"
|
nick="matterbot"
|
||||||
channel="#matterbridge"
|
channel="#matterbridge"
|
||||||
UseSlackCircumfix=false
|
UseSlackCircumfix=false
|
||||||
|
#Ignore the messages from these nicks. They will not be sent to mattermost
|
||||||
|
IgnoreNicks="ircspammer1 ircspammer2"
|
||||||
|
|
||||||
[mattermost]
|
[mattermost]
|
||||||
#url is your incoming webhook url (account settings - integrations - incoming webhooks)
|
#url is your incoming webhook url (account settings - integrations - incoming webhooks)
|
||||||
|
@ -80,6 +82,8 @@ NicksPerRow=4
|
||||||
NickServNick="nickserv"
|
NickServNick="nickserv"
|
||||||
#Password for nickserv
|
#Password for nickserv
|
||||||
NickServPassword="secret"
|
NickServPassword="secret"
|
||||||
|
#Ignore the messages from these nicks. They will not be sent to irc
|
||||||
|
IgnoreNicks="mmbot spammer2"
|
||||||
|
|
||||||
#multiple channel config
|
#multiple channel config
|
||||||
#token you can find in your outgoing webhook
|
#token you can find in your outgoing webhook
|
||||||
|
|
|
@ -6,6 +6,7 @@ SkipTLSVerify=true
|
||||||
nick="matterbot"
|
nick="matterbot"
|
||||||
channel="#matterbridge"
|
channel="#matterbridge"
|
||||||
UseSlackCircumfix=false
|
UseSlackCircumfix=false
|
||||||
|
IgnoreNicks="ircspammer1 ircspammer2"
|
||||||
|
|
||||||
[mattermost]
|
[mattermost]
|
||||||
url="http://yourdomain/hooks/yourhookkey"
|
url="http://yourdomain/hooks/yourhookkey"
|
||||||
|
@ -21,6 +22,7 @@ NickFormatter=plain
|
||||||
NicksPerRow=4
|
NicksPerRow=4
|
||||||
#NickServNick="nickserv"
|
#NickServNick="nickserv"
|
||||||
#NickServPassword="secret"
|
#NickServPassword="secret"
|
||||||
|
IgnoreNicks="mmbot spammer2"
|
||||||
|
|
||||||
[general]
|
[general]
|
||||||
GiphyAPIKey=dc6zaTOxFJmzC
|
GiphyAPIKey=dc6zaTOxFJmzC
|
||||||
|
|
Loading…
Reference in New Issue