From 2719f5e8068642037a2ba5b810c36ffa3a83a6a7 Mon Sep 17 00:00:00 2001 From: Benjamin Blacher Date: Tue, 14 Oct 2025 11:59:56 +0200 Subject: [PATCH] Fix steam bridge displaynames --- roles/custom/matrix-bridge-steam/defaults/main.yml | 2 +- roles/custom/matrix-bridge-steam/templates/config.yaml.j2 | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/roles/custom/matrix-bridge-steam/defaults/main.yml b/roles/custom/matrix-bridge-steam/defaults/main.yml index f2cd6f1fe..fa75b1d0d 100644 --- a/roles/custom/matrix-bridge-steam/defaults/main.yml +++ b/roles/custom/matrix-bridge-steam/defaults/main.yml @@ -48,7 +48,7 @@ matrix_steam_bridge_public_media_hash_length: 32 # Displayname template for Steam users # {{ .DisplayName }} is replaced with the display name of the Steam user # {{ .Username }} is replaced with the username of the Steam user -matrix_steam_bridge_network_displayname_template: "{% raw %}{{ .DisplayName }}{% endraw %} (Steam)" +matrix_steam_bridge_network_displayname_template: "{% raw %}{{ .DisplayName }} (Steam){% endraw %}" matrix_steam_bridge_command_prefix: "!steam" diff --git a/roles/custom/matrix-bridge-steam/templates/config.yaml.j2 b/roles/custom/matrix-bridge-steam/templates/config.yaml.j2 index 05d38f77a..079bac84c 100644 --- a/roles/custom/matrix-bridge-steam/templates/config.yaml.j2 +++ b/roles/custom/matrix-bridge-steam/templates/config.yaml.j2 @@ -7,10 +7,6 @@ network: get_proxy_url: null # Displayname template for Steam users. - # {% raw %} - # {{ .DisplayName }} is replaced with the display name of the Steam user. - # {{ .Username }} is replaced with the username of the Steam user. - # {% endraw %} displayname_template: {{ matrix_steam_bridge_network_displayname_template | to_json }} # Maximum number of conversations to sync on startup