Fix displayname_template for mautrix-slack containing {% endraw % %}

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3479#issuecomment-2294956958
This commit is contained in:
Slavi Pantaleev 2024-08-17 23:02:54 +03:00
parent dabe46cf2f
commit e15d09819e

View File

@ -20,7 +20,7 @@ network:
# .Profile.Pronouns - The pronouns of the user # .Profile.Pronouns - The pronouns of the user
# .Profile.Email - The email address of the user # .Profile.Email - The email address of the user
# .Profile.Phone - The formatted phone number of the user # .Profile.Phone - The formatted phone number of the user
displayname_template: '{% raw %}{{or .Profile.DisplayName .Profile.RealName .Name}}{{if .IsBot}} (bot){{end}}{% endraw% %}' displayname_template: '{% raw %}{{or .Profile.DisplayName .Profile.RealName .Name}}{{if .IsBot}} (bot){{end}}{% endraw %}'
# Channel name template for Slack channels (all types). Available variables: # Channel name template for Slack channels (all types). Available variables:
# .Name - The name of the channel # .Name - The name of the channel
# .Team.Name - The name of the team the channel is in # .Team.Name - The name of the team the channel is in