From b5d73516acf91547950e2b09dfa6c003cb4f29ad Mon Sep 17 00:00:00 2001 From: Catalan Lover <48515417+FSG-Cat@users.noreply.github.com> Date: Thu, 16 Jan 2025 10:01:53 +0100 Subject: [PATCH] Apply remaining suggestions from code review. Co-authored-by: Suguru Hirahara --- docs/configuring-playbook-bot-draupnir.md | 2 +- .../custom/matrix-bot-draupnir/templates/production.yaml.j2 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/configuring-playbook-bot-draupnir.md b/docs/configuring-playbook-bot-draupnir.md index c9b9cb835..7d7ea4d41 100644 --- a/docs/configuring-playbook-bot-draupnir.md +++ b/docs/configuring-playbook-bot-draupnir.md @@ -153,7 +153,7 @@ The other method polls an Synapse Admin API endpoint, hence it is available only You can configure additional options by adding the `matrix_bot_draupnir_configuration_extension_yaml` variable. -For example, to change Draupnir's `acceptInvitesFromSpace` option to `!example:example.org`, add the following configuration to your `vars.yml` file: +For example, to change Draupnir's `acceptInvitesFromSpace` option to `!qporfwt:example.com`, add the following configuration to your `vars.yml` file: ```yaml matrix_bot_draupnir_configuration_extension_yaml: | diff --git a/roles/custom/matrix-bot-draupnir/templates/production.yaml.j2 b/roles/custom/matrix-bot-draupnir/templates/production.yaml.j2 index 46a412076..4fdf0c608 100644 --- a/roles/custom/matrix-bot-draupnir/templates/production.yaml.j2 +++ b/roles/custom/matrix-bot-draupnir/templates/production.yaml.j2 @@ -1,4 +1,4 @@ -# Endpoint URL that Draupnir uses to interact with the matrix homeserver (client-server API), +# Endpoint URL that Draupnir uses to interact with the Matrix homeserver (client-server API), # set this to the pantalaimon URL if you're using that. homeserverUrl: {{ matrix_bot_draupnir_homeserver_url | to_json }} @@ -14,7 +14,7 @@ accessToken: {{ matrix_bot_draupnir_access_token | to_json }} {% if matrix_bot_draupnir_pantalaimon_use %} # Options related to Pantalaimon (https://github.com/matrix-org/pantalaimon) pantalaimon: - # Whether or not Draupnir will use pantalaimon to access the matrix homeserver, + # Whether or not Draupnir will use Pantalaimon to access the Matrix homeserver, # set to `true` if you're using pantalaimon. # # Be sure to point homeserverUrl to the pantalaimon instance. @@ -67,7 +67,7 @@ managementRoom: {{ matrix_bot_draupnir_management_room | to_json }} # Deprecated and will be removed in a future version. # Running with verboseLogging is unsupported. # Whether Draupnir should log a lot more messages in the room, -# mainly involves "all-OK" messages, and debugging messages for when draupnir checks bans in a room. +# mainly involves "all-OK" messages, and debugging messages for when Draupnir checks bans in a room. verboseLogging: false # The log level of terminal (or container) output,