Просмотр исходного кода

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

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3479#issuecomment-2294956958
pull/3482/head
Slavi Pantaleev 1 год назад
Родитель
Сommit
e15d09819e
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      roles/custom/matrix-bridge-mautrix-slack/templates/config.yaml.j2

+ 1
- 1
roles/custom/matrix-bridge-mautrix-slack/templates/config.yaml.j2 Просмотреть файл

@@ -20,7 +20,7 @@ network:
# .Profile.Pronouns - The pronouns of the user
# .Profile.Email - The email address 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:
# .Name - The name of the channel
# .Team.Name - The name of the team the channel is in


Загрузка…
Отмена
Сохранить