Mercurial > prosody-modules
comparison mod_mam_muc/README.markdown @ 2327:a348c105e05d
mod_mam_muc/README: Try to clarify storage example
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 12 Oct 2016 13:55:19 +0200 |
parents | 5e0ee0e4d5b1 |
children | fbb16ada4580 |
comparison
equal
deleted
inserted
replaced
2326:8fad27d568aa | 2327:a348c105e05d |
---|---|
24 modules_enabled = { | 24 modules_enabled = { |
25 "mam_muc", | 25 "mam_muc", |
26 } | 26 } |
27 ``` | 27 ``` |
28 | 28 |
29 And configure it to use an archive-capable storage module: | 29 And configure it to use an archive-capable storage module. |
30 | |
31 Here's an example that makes *only* mod\_mam\_muc use SQL storage: | |
30 | 32 |
31 ``` {.lua} | 33 ``` {.lua} |
32 storage = { | 34 storage = { |
33 muc_log = "sql"; -- Requires 0.10 or later | 35 muc_log = "sql"; -- Requires 0.10 or later |
34 } | 36 } |
35 ``` | 37 ``` |
36 | 38 |
37 See [Prosodys data storage documentation][doc:storage] for more info on | 39 For more details see [Prosodys data storage documentation][doc:storage]. |
38 how to configure storage for different plugins. | |
39 | 40 |
40 Configuration | 41 Configuration |
41 ============= | 42 ============= |
42 | 43 |
43 Logging needs to be enabled for each room in the room configuration | 44 Logging needs to be enabled for each room in the room configuration |