diff options
author | Matthew Fennell <matthew@fennell.dev> | 2024-02-28 22:00:11 +0000 |
---|---|---|
committer | Matthew Fennell <matthew@fennell.dev> | 2024-02-28 22:00:11 +0000 |
commit | 0219d6c6a563a602fabf3997ea656dd8520b7ed9 (patch) | |
tree | 0116905bf559829338cecdf57a769440f898cba6 /files | |
parent | c5eec5087a37931823b0618547e9c043d0e27c0c (diff) |
Remove 10 year archival of messages
I misunderstood how MAM works, and thought that storing messages long-term
would allow new clients to retrieve long-term history. This commit moves the
server's configuration back to the default of one week.
Diffstat (limited to 'files')
-rw-r--r-- | files/prosody.cfg.lua.j2 | 2 | ||||
-rw-r--r-- | files/virtual_host.cfg.lua.j2 | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/files/prosody.cfg.lua.j2 b/files/prosody.cfg.lua.j2 index 0298ba0..b6d9fc1 100644 --- a/files/prosody.cfg.lua.j2 +++ b/files/prosody.cfg.lua.j2 @@ -82,8 +82,6 @@ limits = { }; } -archive_expires_after = "10y" - storage = "sql" sql = { driver = "PostgreSQL"; diff --git a/files/virtual_host.cfg.lua.j2 b/files/virtual_host.cfg.lua.j2 index 5a6064a..cc13f5a 100644 --- a/files/virtual_host.cfg.lua.j2 +++ b/files/virtual_host.cfg.lua.j2 @@ -10,7 +10,6 @@ turn_external_secret = "{{ turn_secret }}" site_name = "{{ virtual_host }}" Component "upload.{{ virtual_host }}" "http_file_share" -http_file_share_expires_after = 10 * 365 * 24 * 60 * 60 Component "conference.{{ virtual_host }}" "muc" modules_enabled = { @@ -18,7 +17,6 @@ modules_enabled = { "vcard_muc"; } -muc_log_expires_after = "10y" log_all_rooms = true restrict_room_creation = "local" |