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

add matrix_hookshot_generic_enable_http_get option

pull/2256/head
Adrien le Maire 3 лет назад
Родитель
Сommit
030b8ea599
2 измененных файлов: 2 добавлений и 0 удалений
  1. +1
    -0
      roles/custom/matrix-bridge-hookshot/defaults/main.yml
  2. +1
    -0
      roles/custom/matrix-bridge-hookshot/templates/config.yml.j2

+ 1
- 0
roles/custom/matrix-bridge-hookshot/defaults/main.yml Просмотреть файл

@@ -124,6 +124,7 @@ matrix_hookshot_generic_endpoint: "{{ matrix_hookshot_webhook_endpoint }}"
# urlprefix gets updated with protocol & port in group_vars/matrix_servers
matrix_hookshot_generic_urlprefix: "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_generic_endpoint }}"
matrix_hookshot_generic_allow_js_transformation_functions: false
matrix_hookshot_generic_enable_http_get: false
# If you're also using matrix-appservice-webhooks, take care that these prefixes don't overlap
matrix_hookshot_generic_user_id_prefix: '_webhooks_'



+ 1
- 0
roles/custom/matrix-bridge-hookshot/templates/config.yml.j2 Просмотреть файл

@@ -76,6 +76,7 @@ generic:
enabled: {{ matrix_hookshot_generic_enabled }}
urlPrefix: {{ matrix_hookshot_generic_urlprefix }}
allowJsTransformationFunctions: {{ matrix_hookshot_generic_allow_js_transformation_functions }}
enableHttpGet: {{ matrix_hookshot_generic_enable_http_get }}
userIdPrefix: {{ matrix_hookshot_generic_user_id_prefix|to_json }}
{% endif %}
{% if matrix_hookshot_feeds_enabled %}


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