瀏覽代碼

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 年之前
父節點
當前提交
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


Loading…
取消
儲存