add archive_expires_after option

This commit is contained in:
Luca Matei Pintilie
2026-01-10 18:59:34 +01:00
committed by mathieui
parent 4de88b5160
commit 6ed185a8a5
11 changed files with 249 additions and 0 deletions
+22
View File
@@ -266,6 +266,28 @@ default_persistence_allowed
If a given XMPP user or domain is not in either denylist or allowlist this
option decides if the user is allowed to persist or not.
archive_expires_after
~~~~~~~~~~~~~~~~~~~~~
Messages in the archive can expire after some time, by default never. This
can be changed by this setting
.. code-block:: ini
# one day
archive_expires_after=1d
# one week
archive_expires_after=1w
# two months
archive_expires_after=2m
# one year
archive_expires_after=1y
# 1h
archive_expires_after=1h
# keep messages forever, the default
archive_expires_after=0
TLS configuration
-----------------