From 03fceb3d2b2fe9ea86de3eb2c3b6d3ae7a2bcac9 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Sun, 19 Nov 2023 16:54:51 +0100 Subject: [PATCH] fixup! Update ansible/plays/services/matrix/mautrix-slack/config.yaml --- ansible/plays/services/matrix/mautrix-slack/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/plays/services/matrix/mautrix-slack/config.yaml b/ansible/plays/services/matrix/mautrix-slack/config.yaml index d9841d5..10c508b 100644 --- a/ansible/plays/services/matrix/mautrix-slack/config.yaml +++ b/ansible/plays/services/matrix/mautrix-slack/config.yaml @@ -69,7 +69,7 @@ bridge: username_template: slack_{{.}} # Displayname template for Slack users. # TODO: document variables - displayname_template: '{{if eq (trim .DisplayName " ") ""}}{{.RealName}}{{else}}{{.DisplayName}}{{end}} (Slack)' + displayname_template: '{{if not .DisplayName}}{{.RealName}}{{else}}{{.DisplayName}}{{end}} (Slack)' bot_displayname_template: '{{.Name}} (bot)' channel_name_template: '#{{.Name}}' {% endraw %}