diff options
author | Wim <wim@42.be> | 2016-10-29 17:34:27 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2016-10-29 17:34:27 +0200 |
commit | 51312531910f7ec1754e610b71b1268f44c663ef (patch) | |
tree | c168a1d643046a63c5220ffb7b5a22d7e5623b36 /matterbridge.toml.sample | |
parent | 035dc042a108330e62ed4daecb5f680754d35fbb (diff) | |
download | matterbridge-msglm-51312531910f7ec1754e610b71b1268f44c663ef.tar.gz matterbridge-msglm-51312531910f7ec1754e610b71b1268f44c663ef.tar.bz2 matterbridge-msglm-51312531910f7ec1754e610b71b1268f44c663ef.zip |
Update documentation
Diffstat (limited to 'matterbridge.toml.sample')
-rw-r--r-- | matterbridge.toml.sample | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/matterbridge.toml.sample b/matterbridge.toml.sample index 4e478f87..90a21300 100644 --- a/matterbridge.toml.sample +++ b/matterbridge.toml.sample @@ -305,8 +305,8 @@ RemoteNickFormat="[{PROTOCOL}] <{NICK}> " # #Most of the time [[gateway.in]] and [[gateway.out]] are the same if you #want bidirectional bridging. +# -#REQUIRED [[gateway]] #OPTIONAL (not used for now) name="gateway1" @@ -330,6 +330,8 @@ enable=true #xmpp - channel #slack - channel (the channel name as seen in the URL, not the displayname) #discord - channel (without the #) + # - ID:123456789 (where 123456789 is the channel ID) + # (https://github.com/42wim/matterbridge/issues/57) #REQUIRED channel="#testing" @@ -344,3 +346,14 @@ enable=true [[gateway.out]] account="mattermost.work" channel="off-topic" + + +#If you want to do a 1:1 mapping between protocols where the channelnames are the same +#e.g. slack and mattermost you can use the samechannelgateway configuration +#the example configuration below send messages from channel testing on mattermost to +#channel testing on slack and vice versa. (and for the channel testing2 and testing3) + +[[samechannelgateway]] + enable = false + accounts = [ "mattermost.work","slack.hobby" ] + channels = [ "testing","testing2","testing3"] |