Use to_json in appservice-slack config.yaml.j2

This commit is contained in:
Slavi Pantaleev 2024-05-14 20:27:47 +03:00 committed by transcaffeine
parent 46da93a628
commit e053703feb
Signed by: transcaffeine
GPG Key ID: 03624C433676E465

View File

@ -27,11 +27,11 @@ rtm:
{% if matrix_appservice_slack_puppeting_enabled %}
puppeting:
enabled: true
onboard_users: {{ matrix_appservice_slack_puppeting_onboard_users|lower }}
onboard_users: {{ matrix_appservice_slack_puppeting_onboard_users | to_json }}
oauth2:
client_id: "{{ matrix_appservice_slack_puppeting_slackapp_client_id }}"
client_secret: "{{ matrix_appservice_slack_puppeting_slackapp_client_secret }}"
client_id: {{ matrix_appservice_slack_puppeting_slackapp_client_id | to_json }}
client_secret: {{ matrix_appservice_slack_puppeting_slackapp_client_secret | to_json }}
{% endif %}
{% if matrix_appservice_slack_team_sync_enabled %}
@ -39,7 +39,7 @@ team_sync:
all:
channels:
enabled: true
alias_prefix: "{{ matrix_appservice_slack_team_sync_alias_prefix }}"
alias_prefix: {{ matrix_appservice_slack_team_sync_alias_prefix | to_json }}
users:
enabled: true
{% endif %}