From 3f7af3ef3f3c40e655930370b8bb7a1ca5c44fac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Wed, 11 Dec 2019 14:47:44 +0100 Subject: [PATCH] Expose self service bridging in matrix_appservice_discord This allows for users to bridge already existing matrix rooms to discord --- roles/matrix-bridge-appservice-discord/defaults/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/matrix-bridge-appservice-discord/defaults/main.yml b/roles/matrix-bridge-appservice-discord/defaults/main.yml index 5e4644e1..0192f97d 100644 --- a/roles/matrix-bridge-appservice-discord/defaults/main.yml +++ b/roles/matrix-bridge-appservice-discord/defaults/main.yml @@ -37,6 +37,7 @@ matrix_appservice_discord_bridge_domain: "{{ matrix_domain }}" # As of right now, the homeserver URL must be a public URL. See below. matrix_appservice_discord_bridge_homeserverUrl: "{{ matrix_homeserver_url }}" matrix_appservice_discord_bridge_disablePresence: false +matrix_appservice_discord_bridge_enableSelfServiceBridging: false matrix_appservice_discord_configuration_yaml: | #jinja2: lstrip_blocks: "True" @@ -61,7 +62,7 @@ matrix_appservice_discord_configuration_yaml: | disableDeletionForwarding: false # Enable users to bridge rooms using !discord commands. See # https://t2bot.io/discord for instructions. - enableSelfServiceBridging: false + enableSelfServiceBridging: {{ matrix_appservice_discord_bridge_enableSelfServiceBridging|to_json }} # Disable sending of read receipts for Matrix events which have been # successfully bridged to Discord. disableReadReceipts: false