소스 검색

Fix username_template potentially not being taken into account for mautrix-slack

While working on upgrading the Meta bridges to bridgev2, I've noticed
that {% raw %} and {% endraw %} on lines like that (immediately
preceding `username_template` may cause YAML indentation issues.
pull/3534/head
Slavi Pantaleev 1 년 전
부모
커밋
626a851c82
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. +1
    -3
      roles/custom/matrix-bridge-mautrix-slack/templates/config.yaml.j2

+ 1
- 3
roles/custom/matrix-bridge-mautrix-slack/templates/config.yaml.j2 파일 보기

@@ -244,9 +244,7 @@ appservice:
hs_token: {{ matrix_mautrix_slack_homeserver_token | to_json }}

# Localpart template of MXIDs for remote users.
# {% raw %}
# {{.}} is replaced with the internal ID of the user.
# {% endraw %}
# {% raw %}{{.}}{% endraw %} is replaced with the internal ID of the user.
username_template: "{% raw %}slack_{{.}}{% endraw %}"

# Config options that affect the Matrix connector of the bridge.


불러오는 중...
취소
저장