Mercurial > prosody-modules
comparison mod_mam/README.wiki @ 1801:5abf61915ab4
mod_mam/README: Add example of use with mod_storage_sql2
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 28 Aug 2015 00:40:53 +0200 |
parents | 29f3d6b7ad16 |
children |
comparison
equal
deleted
inserted
replaced
1800:669d1208221a | 1801:5abf61915ab4 |
---|---|
27 | 27 |
28 mod_mam uses the store "archive2". | 28 mod_mam uses the store "archive2". |
29 See [https://prosody.im/doc/storage Prosodys data storage documentation] | 29 See [https://prosody.im/doc/storage Prosodys data storage documentation] |
30 for information on how to configure storage. | 30 for information on how to configure storage. |
31 | 31 |
32 For example, to use mod_storage_sql2: | |
33 {{{ | |
34 storage = { | |
35 archive2 = "sql2"; | |
36 } | |
37 }}} | |
38 | |
32 = Configuration = | 39 = Configuration = |
33 | 40 |
34 The MAM protocol includes a method of changing preferences regarding what | 41 The MAM protocol includes a method of changing preferences regarding what |
35 messages should be stored. This allows users to enable or disable | 42 messages should be stored. This allows users to enable or disable |
36 archiving by default, and set rules for specific contacts. This module | 43 archiving by default, and set rules for specific contacts. This module |