comparison mod_mam.wiki @ 413:56912134d96b

moar rant
author Kim Alvefur <zash@zash.se>
date Fri, 17 Jan 2014 00:48:52 +0100
parents 6f559c056dc8
children b2ebc4473c4c
comparison
equal deleted inserted replaced
412:4573bb828a4d 413:56912134d96b
5 5
6 Implementation of [http://xmpp.org/extensions/xep-0313.html XEP-0313: Message Archive Management]. Like [mod_archive] but much simpler. 6 Implementation of [http://xmpp.org/extensions/xep-0313.html XEP-0313: Message Archive Management]. Like [mod_archive] but much simpler.
7 7
8 = Details = 8 = Details =
9 9
10 This module will archive all messages that match the simple rules setup by the user, and allow the user to access this archive. 10 This module will archive all messages that match the simple rules setup by the
11 user, and allow the user to access this archive.
11 12
12 = Usage = 13 = Usage =
13 14
14 First copy the module to the prosody plugins directory. 15 First copy the module to the prosody plugins directory.
15 16
25 } 26 }
26 }}} 27 }}}
27 28
28 = Configuration = 29 = Configuration =
29 30
31 The MAM protocol includes a method of changing preferecens regarding what
32 messages should be stored. This allows users to enable or disable
33 archiving by default, and set rules for specific contacts. This module
34 will log no messages by default, for privacy concerns. If you decide to
35 change this, you should inform your users.
36
30 {{{ 37 {{{
31 default_archive_policy = true or false or "roster"; 38 default_archive_policy = true or false or "roster";
32 }}} 39 }}}
33 40
34 This controls what messages are archived if the user hasn't set a matching rule, or another personal default. 41 This controls what messages are archived if the user hasn't set a
42 matching rule, or another personal default.
35 43
36 * `false` means to store no messages. This is the built in default. 44 * `false` means to store no messages. This is the default.
37 * `"roster"` means to store messages to/from contacts in the users roster. 45 * `"roster"` means to store messages to/from contacts in the users roster.
38 * `true` means is to store all messages. 46 * `true` means is to store all messages.
39 47
40 {{{ 48 {{{
41 max_archive_query_results = 50; 49 max_archive_query_results = 50;
43 51
44 This is the largest number of messages that are allowed to be retrieved in one request. 52 This is the largest number of messages that are allowed to be retrieved in one request.
45 53
46 = Compatibility = 54 = Compatibility =
47 || trunk || Works || 55 || trunk || Works ||
56 || 0.10 || Works ||
48 || 0.9 || Does not work || 57 || 0.9 || Does not work ||
49 || 0.8 || Does not work || 58 || 0.8 || Does not work ||