From 518615a97933db64ebbd562a198e4e1370fd9117 Mon Sep 17 00:00:00 2001 From: needo37 Date: Thu, 8 Feb 2024 06:13:07 +0000 Subject: [PATCH] Update signal config.yaml.j2 merging upstream changes (#3164) * Update signal config.yaml.j2 merging upstream changes * Add raw/endraw around displayname_template for mautrix-signal --------- Co-authored-by: Slavi Pantaleev --- .../matrix-bridge-mautrix-signal/templates/config.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 181637c03..182e43eb1 100644 --- a/roles/custom/matrix-bridge-mautrix-signal/templates/config.yaml.j2 +++ b/roles/custom/matrix-bridge-mautrix-signal/templates/config.yaml.j2 @@ -101,7 +101,7 @@ bridge: # {{.UUID}} - The UUID of the Signal user. # {{.AboutEmoji}} - The emoji set by the user in their profile. # {% endraw %} - displayname_template: "{{ '{{.ProfileName}} (Signal)' }}" + displayname_template: {% raw %}'{{or .ProfileName .PhoneNumber "Unknown user"}}'{% endraw %} # 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. # If set to `always`, all DM rooms will have explicit names and avatars set.