Browse Source

Add a few more `generic.` webhook settings for Hookshot

Ref: https://github.com/matrix-org/matrix-hookshot/pull/1004
pull/4507/head
Slavi Pantaleev 6 months ago
parent
commit
fccd7442d6
2 changed files with 6 additions and 0 deletions
  1. +3
    -0
      roles/custom/matrix-bridge-hookshot/defaults/main.yml
  2. +3
    -0
      roles/custom/matrix-bridge-hookshot/templates/config.yaml.j2

+ 3
- 0
roles/custom/matrix-bridge-hookshot/defaults/main.yml View File

@@ -181,6 +181,9 @@ matrix_hookshot_generic_urlPrefix: "{{ matrix_hookshot_urlprefix }}{{ matrix_hoo
matrix_hookshot_generic_userIdPrefix: '_webhooks_' # noqa var-naming matrix_hookshot_generic_userIdPrefix: '_webhooks_' # noqa var-naming
matrix_hookshot_generic_allowJsTransformationFunctions: false # noqa var-naming matrix_hookshot_generic_allowJsTransformationFunctions: false # noqa var-naming
matrix_hookshot_generic_waitForComplete: false # noqa var-naming matrix_hookshot_generic_waitForComplete: false # noqa var-naming
matrix_hookshot_generic_sendExpiryNotice: false # noqa var-naming
matrix_hookshot_generic_requireExpiryTime: false # noqa var-naming
matrix_hookshot_generic_maxExpiryTime: "30d" # noqa var-naming




matrix_hookshot_feeds_enabled: true matrix_hookshot_feeds_enabled: true


+ 3
- 0
roles/custom/matrix-bridge-hookshot/templates/config.yaml.j2 View File

@@ -80,6 +80,9 @@ generic:
userIdPrefix: {{ matrix_hookshot_generic_userIdPrefix | to_json }} userIdPrefix: {{ matrix_hookshot_generic_userIdPrefix | to_json }}
allowJsTransformationFunctions: {{ matrix_hookshot_generic_allowJsTransformationFunctions | to_json }} allowJsTransformationFunctions: {{ matrix_hookshot_generic_allowJsTransformationFunctions | to_json }}
waitForComplete: {{ matrix_hookshot_generic_waitForComplete | to_json }} waitForComplete: {{ matrix_hookshot_generic_waitForComplete | to_json }}
sendExpiryNotice: {{ matrix_hookshot_generic_sendExpiryNotice | to_json }}
requireExpiryTime: {{ matrix_hookshot_generic_requireExpiryTime | to_json }}
maxExpiryTime: {{ matrix_hookshot_generic_maxExpiryTime | to_json }}
{% endif %} {% endif %}
{% if matrix_hookshot_feeds_enabled %} {% if matrix_hookshot_feeds_enabled %}
feeds: feeds:


Loading…
Cancel
Save