Mercurial > prosody-modules
comparison mod_mam_muc/README.markdown @ 1979:3a66cff4354f
mod_mam_muc/README: Try to clarify that storage settings are separate
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 17 Dec 2015 16:51:49 +0100 |
parents | cd36e5bf00b3 |
children | 5e0ee0e4d5b1 |
comparison
equal
deleted
inserted
replaced
1978:b91f27f21666 | 1979:3a66cff4354f |
---|---|
22 ``` {.lua} | 22 ``` {.lua} |
23 Component "conference.example.org" "muc" | 23 Component "conference.example.org" "muc" |
24 modules_enabled = { | 24 modules_enabled = { |
25 "mam_muc", | 25 "mam_muc", |
26 } | 26 } |
27 ``` {.lua} | |
28 | |
29 And configure it to use an archive-capable storage module: | |
30 | |
31 ``` | |
27 storage = { | 32 storage = { |
28 muc_log = "sql"; -- Requires 0.10 or later | 33 muc_log = "sql"; -- Requires 0.10 or later |
29 } | 34 } |
30 ``` | 35 ``` |
31 | 36 |
32 See [Prosodys data storage | 37 See [Prosodys data storage documentation][doc:storage] for more info on |
33 documentation](https://prosody.im/doc/storage) for more info on how to | 38 how to configure storage for different plugins. |
34 configure storage for different plugins. | |
35 | 39 |
36 Configuration | 40 Configuration |
37 ============= | 41 ============= |
38 | 42 |
39 Logging needs to be enabled for each room in the room configuration | 43 Logging needs to be enabled for each room in the room configuration |