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

Fix missing conf for double puppeting in mx-puppet-slack

pull/538/head
Hugues Morisset 5 лет назад
Родитель
Сommit
d4938333e6
2 измененных файлов: 7 добавлений и 0 удалений
  1. +3
    -0
      roles/matrix-bridge-mx-puppet-slack/defaults/main.yml
  2. +4
    -0
      roles/matrix-bridge-mx-puppet-slack/templates/config.yaml.j2

+ 3
- 0
roles/matrix-bridge-mx-puppet-slack/defaults/main.yml Просмотреть файл

@@ -52,6 +52,9 @@ matrix_mx_puppet_slack_systemd_wanted_services_list: []
matrix_mx_puppet_slack_appservice_token: ''
matrix_mx_puppet_slack_homeserver_token: ''

# Can be set to enable automatic double-puppeting via Shared Secret Auth (https://github.com/devture/matrix-synapse-shared-secret-auth).
matrix_mx_puppet_slack_login_shared_secret: ''

# Default configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
#


+ 4
- 0
roles/matrix-bridge-mx-puppet-slack/templates/config.yaml.j2 Просмотреть файл

@@ -9,6 +9,10 @@ bridge:
domain: {{ matrix_mx_puppet_slack_homeserver_domain }}
# Reachable URL of the Matrix homeserver
homeserverUrl: {{ matrix_mx_puppet_slack_homeserver_address }}
{% if matrix_mx_puppet_slack_login_shared_secret != '' %}
loginSharedSecretMap:
{{ matrix_domain }}: {{ matrix_mx_puppet_slack_login_shared_secret }}
{% endif %}


# Slack OAuth settings. Create a slack app at https://api.slack.com/apps


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