diff --git a/roles/custom/matrix-bridge-hookshot/defaults/main.yml b/roles/custom/matrix-bridge-hookshot/defaults/main.yml index 2895e7283..49437fa4f 100644 --- a/roles/custom/matrix-bridge-hookshot/defaults/main.yml +++ b/roles/custom/matrix-bridge-hookshot/defaults/main.yml @@ -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 diff --git a/roles/custom/matrix-bridge-hookshot/templates/config.yaml.j2 b/roles/custom/matrix-bridge-hookshot/templates/config.yaml.j2 index 343114a56..0e993f9d0 100644 --- a/roles/custom/matrix-bridge-hookshot/templates/config.yaml.j2 +++ b/roles/custom/matrix-bridge-hookshot/templates/config.yaml.j2 @@ -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: