diff --git a/webserver/docker_matterbridge/templates/matterbridge_cw.toml b/webserver/docker_matterbridge/templates/matterbridge_cw.toml index a5a66556f17bbe6ed6312872294fe9c6741460bf..10a6c48428214a33e950f5427db5f3dfec6ebb8f 100644 --- a/webserver/docker_matterbridge/templates/matterbridge_cw.toml +++ b/webserver/docker_matterbridge/templates/matterbridge_cw.toml @@ -318,6 +318,7 @@ Server="https://matrix-client.matrix.org" #Use a dedicated user for this and not your own! #Messages sent from this user will not be relayed to avoid loops. #REQUIRED +# Bot Account: @chaos_west_bot Login="cw_bot" Password="{{ matrix_pass_cwbot }}" @@ -427,3 +428,39 @@ enable=true ## Raum auf dem Matrix.org Server account="matrix.matrixorg" channel="#chaos-west-bridge:matrix.org" + + +################################################################### +#Gateway configuration +################################################################### + +#You can specify multiple gateways using [[gateway]] +#Each gateway has a [[gateway.in]] and a [[gateway.out]] +#[[gateway.in]] specifies the account and channels we will receive messages from. +#[[gateway.out]] specifies the account and channels we will send the messages +#from [[gateway.in]] to. +# +#Most of the time [[gateway.in]] and [[gateway.out]] are the same if you +#want bidirectional bridging. You can then use [[gateway.inout]] + +[[gateway]] +#OPTIONAL (not used for now) +name="gateway2" +#Enable enables this gateway +##OPTIONAL (default false) +enable=true + + + [[gateway.inout]] + ## Vorgehen um Guppen-ID zu bekommen: + ## - Bot in Gruppe einfügen + ## - Chatnachricht erstellen + ## - https://api.telegram.org/<API Token>/getUpdates ausrufen, die ID findet sich in der Eigenschaft "message.chat.id" + ## - @RawDataBot in den Channel einladen + account="telegram.bot" + channel="-746336048" + + [[gateway.inout]] + ## Raum auf dem Matrix.org Server + account="matrix.matrixorg" + channel="#camp23:matrix.c3re.de"