Extract mautrix-twitter's network.displayname_template configuration into a variable (matrix_mautrix_twitter_network_displayname_template)

This commit is contained in:
Slavi Pantaleev
2025-07-08 06:38:51 +03:00
parent 9e31a254d8
commit c399c6ff10
2 changed files with 6 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ network:
# {{ .DisplayName }} is replaced with the display name of the Twitter user.
# {{ .Username }} is replaced with the username of the Twitter user.
# {% endraw %}
displayname_template: "{% raw %}{{ .DisplayName }}{% endraw %} (Twitter)"
displayname_template: {{ matrix_mautrix_twitter_network_displayname_template | to_json }}
# Maximum number of conversations to sync on startup
conversation_sync_limit: 20