From 345168866388f25bb5fdc58683d4b17f75202c64 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Sun, 5 Jan 2025 05:34:24 -0500 Subject: [PATCH] Update docs/configuring-playbook-bridge-mautrix-telegram.md: move the section for instruction about using the bridge for direct chat only Signed-off-by: Suguru Hirahara --- ...configuring-playbook-bridge-mautrix-telegram.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/configuring-playbook-bridge-mautrix-telegram.md b/docs/configuring-playbook-bridge-mautrix-telegram.md index 886b317f3..671107838 100644 --- a/docs/configuring-playbook-bridge-mautrix-telegram.md +++ b/docs/configuring-playbook-bridge-mautrix-telegram.md @@ -55,6 +55,14 @@ matrix_mautrix_telegram_configuration_extension_yaml: | More details about permissions in this example: https://github.com/mautrix/telegram/blob/master/mautrix_telegram/example-config.yaml#L410 +### Use the bridge for direct chat only + +If you want to exclude all groups from syncing and use the Telegram-Bridge only for direct chats, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file: + +```yaml +matrix_mautrix_telegram_filter_mode: whitelist +``` + ### Extending the configuration There are some additional things you may wish to configure about the bridge. @@ -82,9 +90,3 @@ ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,ensure-matrix-use ## Usage To use the bridge, you need to start a chat with `@telegrambot:example.com` (where `example.com` is your base domain, not the `matrix.` domain). - -If you like to exclude all groups from syncing and use the Telgeram-Bridge only for direct chats, you can add the following additional playbook configuration: - -```yaml -matrix_mautrix_telegram_filter_mode: whitelist -```