add archive_expires_after option
This commit is contained in:
committed by
mathieui
parent
4de88b5160
commit
6ed185a8a5
@@ -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
|
||||
-----------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user