From fc151fed77ae39f981fe032a1cc9f198076bfd2e Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Fri, 5 Jan 2024 10:20:00 +0200 Subject: [PATCH] Add raw/endraw around problematic texts in matrix-bridge-mautrix-signal/templates/config.yaml Fixes: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3082 Related to: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3079 --- .../matrix-bridge-mautrix-signal/templates/config.yaml.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/custom/matrix-bridge-mautrix-signal/templates/config.yaml.j2 b/roles/custom/matrix-bridge-mautrix-signal/templates/config.yaml.j2 index f827c25ef..db3b3526f 100644 --- a/roles/custom/matrix-bridge-mautrix-signal/templates/config.yaml.j2 +++ b/roles/custom/matrix-bridge-mautrix-signal/templates/config.yaml.j2 @@ -90,11 +90,13 @@ bridge: # {{ '{{.}}' }} is replaced with the internal ID of the Signal user. username_template: "{{ 'signal_{{.}}' }}" # Displayname template for Signal users. This is also used as the room name in DMs if private_chat_portal_meta is enabled. + # {% raw %} # {{.ProfileName}} - The Signal profile name set by the user. # {{.ContactName}} - The name for the user from your phone's contact list. This is not safe on multi-user instances. # {{.PhoneNumber}} - The phone number of the user. # {{.UUID}} - The UUID of the Signal user. # {{.AboutEmoji}} - The emoji set by the user in their profile. + # {% endraw %} displayname_template: "{{ '{{.ProfileName}} (Signal)' }}" # Whether to explicitly set the avatar and room name for private chat portal rooms. # If set to `default`, this will be enabled in encrypted rooms and disabled in unencrypted rooms.