Replace archive2 with archive

  The messages aren't stored on the server as files. This is due to the use of archive2 instead of just archive as the prosody mam man page tells:

> Legacy message archive
> 
> Early versions of mod_mam (which were available in [prosody-modules](https://prosody.im/community_modules)) stored data in a store called 'archive2'. This store is now just called 'archive'.
> 
> mod_mam can be instructed to use the older store name if you still have data there.
> 
> archive_store = "archive2"; -- the old data
> storage = {
>   archive2 = "sql";
> }
This commit is contained in:
grugel-maintro 2022-08-23 17:27:49 +00:00 committed by GitHub
parent eb572d8180
commit 3670c142e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ archive_store = "archive2" -- Use the same data store as prosody-modules mod_mam
storage = {
-- this makes mod_mam use the sql storage backend
archive2 = os.getenv("STORAGE");
archive = os.getenv("STORAGE");
}
-- https://modules.prosody.im/mod_mam.html