From 0c9d3b4004ab0869c64978efbcc9e0c631764472 Mon Sep 17 00:00:00 2001 From: Christian Elberfeld <elberfeld@web.de> Date: Fri, 10 Feb 2023 15:16:17 +0100 Subject: [PATCH] =?UTF-8?q?bridge=20f=C3=BCr=20camp23=20planungs=20channel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/matterbridge_cw.toml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/webserver/docker_matterbridge/templates/matterbridge_cw.toml b/webserver/docker_matterbridge/templates/matterbridge_cw.toml index a5a66556..10a6c484 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" -- GitLab