Extract mautrix-whatsapp's network.displayname_template configuration into a variable (matrix_mautrix_whatsapp_network_displayname_template)

This commit is contained in:
Slavi Pantaleev
2025-07-08 06:31:55 +03:00
parent 78a3bf42f3
commit f4306be183
2 changed files with 8 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ network:
# {{.Phone}} - phone number (international format)
# {{.FullName}} - Name you set in the contacts list
# {% endraw %}
displayname_template: "{% raw %}{{or .BusinessName .PushName .Phone}} (WA){% endraw %}"
displayname_template: {{ matrix_mautrix_whatsapp_network_displayname_template | to_json }}
# Should incoming calls send a message to the Matrix room?
call_start_notices: true