Mercurial > prosody-wiki
annotate mod_mam.wiki @ 259:6fb8d4252b73
Update mod_mam page with default³ info
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 15 Jan 2012 04:31:41 +0100 |
parents | 1da94ec1f030 |
children | ca66f14190ac |
rev | line source |
---|---|
249 | 1 #summary XEP-xxxx: Message Archive Management (Really) |
2 #labels Stage-Alpha | |
3 | |
4 = Introduction = | |
5 | |
6 Implementation of [http://matthewwild.co.uk/uploads/message-archive-management.html XEP-xxxx: Message Archive Management]. Like [mod_archive] but much simpler. | |
7 | |
250 | 8 *Note that this is an implementation of a ProtoXEP, which may be subject to major i changes.* |
249 | 9 |
10 = Details = | |
11 | |
12 The server will archive messages passing through, and clients can query their archive. | |
13 | |
14 = Usage = | |
15 | |
16 First copy the module to the prosody plugins directory. | |
17 | |
18 Then add "mam" to your modules_enabled list: | |
19 {{{ | |
20 modules_enabled = { | |
21 -- ... | |
22 "mam", | |
23 -- ... | |
24 } | |
25 }}} | |
26 | |
27 = Configuration = | |
28 | |
259
6fb8d4252b73
Update mod_mam page with default³ info
Kim Alvefur <zash@zash.se>
parents:
251
diff
changeset
|
29 {{{ |
6fb8d4252b73
Update mod_mam page with default³ info
Kim Alvefur <zash@zash.se>
parents:
251
diff
changeset
|
30 default_archive_policy = true or false or "roster"; |
6fb8d4252b73
Update mod_mam page with default³ info
Kim Alvefur <zash@zash.se>
parents:
251
diff
changeset
|
31 }}} |
6fb8d4252b73
Update mod_mam page with default³ info
Kim Alvefur <zash@zash.se>
parents:
251
diff
changeset
|
32 |
6fb8d4252b73
Update mod_mam page with default³ info
Kim Alvefur <zash@zash.se>
parents:
251
diff
changeset
|
33 This controls what messages are archived if the user hasn't set a matching rule, or another personal default. |
6fb8d4252b73
Update mod_mam page with default³ info
Kim Alvefur <zash@zash.se>
parents:
251
diff
changeset
|
34 |
6fb8d4252b73
Update mod_mam page with default³ info
Kim Alvefur <zash@zash.se>
parents:
251
diff
changeset
|
35 * `false` means to store no messages. This is the built in default. |
6fb8d4252b73
Update mod_mam page with default³ info
Kim Alvefur <zash@zash.se>
parents:
251
diff
changeset
|
36 * `"roster"` means to store messages to/from contacts in the users roster. |
6fb8d4252b73
Update mod_mam page with default³ info
Kim Alvefur <zash@zash.se>
parents:
251
diff
changeset
|
37 * `true` means is to store all messages. |
6fb8d4252b73
Update mod_mam page with default³ info
Kim Alvefur <zash@zash.se>
parents:
251
diff
changeset
|
38 |
6fb8d4252b73
Update mod_mam page with default³ info
Kim Alvefur <zash@zash.se>
parents:
251
diff
changeset
|
39 |
249 | 40 = Compatibility = |
41 || 0.8.0 || Works || | |
42 || trunk || Should work || | |
43 | |
44 = TODO = | |
45 | |
251 | 46 * Optimize |
47 * Use new stanza archive API once it appears | |
259
6fb8d4252b73
Update mod_mam page with default³ info
Kim Alvefur <zash@zash.se>
parents:
251
diff
changeset
|
48 * Policy enforcing. |