From c551069da89f6346181c185cef4fea57614e698a Mon Sep 17 00:00:00 2001 From: Tomas Kracmar Date: Sat, 23 Sep 2023 17:52:53 +0200 Subject: [PATCH] Add support for Microsoft OIDC --- .../matrix-synapse/templates/synapse/homeserver.yaml.j2 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 b/roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 index a220c3b7e..338401280 100644 --- a/roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 +++ b/roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 @@ -642,6 +642,15 @@ retention: # - shortest_max_lifetime: 3d # interval: 1d +{% if matrix_synapse_retention_policy_enabled %} + enabled: true + default_policy: + min_lifetime: {{ matrix_synapse_retention_policy_min_lifetime | string }} + max_lifetime: {{ matrix_synapse_retention_policy_max_lifetime | string }} + + allowed_lifetime_min: {{ matrix_synapse_retention_policy_allowed_min_lifetime | string }} + allowed_lifetime_max: {{ matrix_synapse_retention_policy_allowed_max_lifetime | string }} +{% endif %} ## TLS ##