2016-10-18 20:20:59 +00:00
|
|
|
default_storage = "sql"
|
|
|
|
sql = {
|
|
|
|
driver = "SQLite3";
|
|
|
|
database = "prosody.sqlite";
|
|
|
|
}
|
|
|
|
|
2018-01-13 23:31:10 +00:00
|
|
|
-- make 0.10-distributed mod_mam use sql store
|
|
|
|
archive_store = "archive2" -- Use the same data store as prosody-modules mod_mam
|
|
|
|
|
2016-10-18 20:20:59 +00:00
|
|
|
storage = {
|
|
|
|
-- this makes mod_mam use the sql storage backend
|
|
|
|
archive2 = "sql";
|
|
|
|
}
|
|
|
|
|
|
|
|
-- https://modules.prosody.im/mod_mam.html
|
|
|
|
archive_expires_after = "1y"
|
2018-11-27 19:33:37 +00:00
|
|
|
|