Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
e15d09819e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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 Dosyayı Görüntüle

@@ -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


Yükleniyor…
İptal
Kaydet