From 21fe04eff4ec008434ad08c56563b2888aa7bf95 Mon Sep 17 00:00:00 2001 From: Shreyas Ajjarapu Date: Thu, 20 Jul 2023 12:43:43 -0500 Subject: [PATCH] Removed problem j2 values --- .../templates/config.yaml.j2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/custom/matrix-bridge-mautrix-gmessages/templates/config.yaml.j2 b/roles/custom/matrix-bridge-mautrix-gmessages/templates/config.yaml.j2 index 9fa697629..9a7372437 100644 --- a/roles/custom/matrix-bridge-mautrix-gmessages/templates/config.yaml.j2 +++ b/roles/custom/matrix-bridge-mautrix-gmessages/templates/config.yaml.j2 @@ -103,13 +103,13 @@ google_messages: # Bridge config bridge: # Localpart template of MXIDs for SMS users. - # {{.}} is replaced with an identifier of the recipient. - username_template: gmessages_{{.}} + # {{ '{{.}}' }} is replaced with an identifier of the recipient. + username_template: "{{ 'gmessages_{{.}}' }}" # Displayname template for SMS users. - # {{.FullName}} - Full name provided by the phone - # {{.FirstName}} - First name provided by the phone - # {{.PhoneNumber}} - Formatted phone number provided by the phone - displayname_template: "{{ '{{if .BusinessName}}{{.BusinessName}}{{else if .PushName}}{{.PushName}}{{else}}{{.JID}}{{end}} (GM)' }}" + # {{ '{{.FullName}}' }} - Full name provided by the phone + # {{ '{{.FirstName}}' }} - First name provided by the phone + # {{ '{{.PhoneNumber}}' }} - Formatted phone number provided by the phone + displayname_template: "{{ '{{or .FullName .PhoneNumber}}' }}" # Should the bridge create a space for each logged-in user and add bridged rooms to it? personal_filtering_spaces: {{ matrix_mautrix_gmessages_bridge_personal_filtering_spaces | to_json }} # Should the bridge send a read receipt from the bridge bot when a message has been sent to the phone?