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 GitHub
parent 2bdc6db2eb
commit 92e55b39e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 %}