Explorar el Código

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

Ref: https://github.com/matrix-org/matrix-hookshot/pull/1004
pull/4507/head
Slavi Pantaleev hace 6 meses
padre
commit
fccd7442d6
Se han modificado 2 ficheros con 6 adiciones y 0 borrados
  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 Ver fichero

@@ -181,6 +181,9 @@ matrix_hookshot_generic_urlPrefix: "{{ matrix_hookshot_urlprefix }}{{ matrix_hoo
matrix_hookshot_generic_userIdPrefix: '_webhooks_' # noqa var-naming
matrix_hookshot_generic_allowJsTransformationFunctions: 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


+ 3
- 0
roles/custom/matrix-bridge-hookshot/templates/config.yaml.j2 Ver fichero

@@ -80,6 +80,9 @@ generic:
userIdPrefix: {{ matrix_hookshot_generic_userIdPrefix | to_json }}
allowJsTransformationFunctions: {{ matrix_hookshot_generic_allowJsTransformationFunctions | 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 %}
{% if matrix_hookshot_feeds_enabled %}
feeds:


Cargando…
Cancelar
Guardar