Enable mod_mam for persistent direct message archiving

Messages are stored indefinitely in MySQL.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
mguschin
2026-03-01 20:40:03 +03:00
parent 86e947efb0
commit eb8a2e3145

View File

@@ -21,6 +21,7 @@ modules_enabled = {
"time"; "time";
"ping"; "ping";
"register"; "register";
"mam";
-- Admin interface -- Admin interface
"admin_adhoc"; "admin_adhoc";
@@ -62,6 +63,9 @@ s2s_require_encryption = true
-- Authentication -- Authentication
authentication = "internal_plain" authentication = "internal_plain"
-- Message archive settings
archive_expires_after = "never"
-- Certificates directory (global, before VirtualHost) -- Certificates directory (global, before VirtualHost)
certificates = "/etc/prosody/certs" certificates = "/etc/prosody/certs"