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

Try to make Jinja not trip up over syntax

pull/1936/head
Slavi Pantaleev 3 лет назад
committed by GitHub
Родитель
Сommit
fa9b34b983
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      roles/matrix-bridge-mautrix-whatsapp/templates/config.yaml.j2

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

@@ -80,7 +80,7 @@ whatsapp:
# Bridge config # Bridge config
bridge: bridge:
# Localpart template of MXIDs for WhatsApp users. # Localpart template of MXIDs for WhatsApp users.
# {{.}} is replaced with the phone number of the WhatsApp user.
# {% raw %}{{.}}{% endraw %} is replaced with the phone number of the WhatsApp user.
username_template: "{{ 'whatsapp_{{.}}' }}" username_template: "{{ 'whatsapp_{{.}}' }}"
# Displayname template for WhatsApp users. # Displayname template for WhatsApp users.
# {{.PushName}} - nickname set by the WhatsApp user # {{.PushName}} - nickname set by the WhatsApp user


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