Преглед изворни кода

fix: escape jinja '.'

pull/3041/head
Pierre 'McFly' Marty пре 2 година
committed by GitHub
родитељ
комит
7a83c2026c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 3 додато и 3 уклоњено
  1. +3
    -3
      roles/custom/matrix-bridge-mautrix-signalgo/templates/config.yaml.j2

+ 3
- 3
roles/custom/matrix-bridge-mautrix-signalgo/templates/config.yaml.j2 Прегледај датотеку

@@ -87,11 +87,11 @@ metrics:
# Bridge config # Bridge config
bridge: bridge:
# Localpart template of MXIDs for Signal users. # Localpart template of MXIDs for Signal users.
# {{.}} is replaced with the internal ID of the Signal user.
username_template: signal_{{.}}
# {{ '{{.}}' }} is replaced with the internal ID of the Signal user.
username_template: "{{ 'signalgo_{{.}}' }}"
# Displayname template for Signal users. This is also used as the room name in DMs if private_chat_portal_meta is enabled. # Displayname template for Signal users. This is also used as the room name in DMs if private_chat_portal_meta is enabled.
# Available variables: TODO # Available variables: TODO
displayname_template: '{{.ProfileName}} (Signalgo)'
displayname_template: "{{ '{{.ProfileName}} (Signalgo)' }}"
# Whether to explicitly set the avatar and room name for private chat portal rooms. # Whether to explicitly set the avatar and room name for private chat portal rooms.
# If set to `default`, this will be enabled in encrypted rooms and disabled in unencrypted rooms. # If set to `default`, this will be enabled in encrypted rooms and disabled in unencrypted rooms.
# If set to `always`, all DM rooms will have explicit names and avatars set. # If set to `always`, all DM rooms will have explicit names and avatars set.


Loading…
Откажи
Сачувај