comparison mod_mam/README.markdown @ 2017:d44ac0756c46

mod_mam: Enable archiving by default, less of a privacy issue if messages expire
author Kim Alvefur <zash@zash.se>
date Tue, 19 Jan 2016 13:34:53 +0100
parents 279885fd9728
children 77b9c7e5fd63
comparison
equal deleted inserted replaced
2016:279885fd9728 2017:d44ac0756c46
37 -------------- 37 --------------
38 38
39 option type default 39 option type default
40 ------------------------------ ----------------------- --------- 40 ------------------------------ ----------------------- ---------
41 max\_archive\_query\_results number `50` 41 max\_archive\_query\_results number `50`
42 default\_archive\_policy boolean or `"roster"` `false` 42 default\_archive\_policy boolean or `"roster"` `true`
43 archive\_expires\_after string `"1w"` 43 archive\_expires\_after string `"1w"`
44 44
45 Storage backend 45 Storage backend
46 --------------- 46 ---------------
47 47
95 Message matching policy 95 Message matching policy
96 ----------------------- 96 -----------------------
97 97
98 The MAM protocol includes a way for clients to control what messages 98 The MAM protocol includes a way for clients to control what messages
99 should be stored. This allows users to enable or disable archiving by 99 should be stored. This allows users to enable or disable archiving by
100 default or for specific contacts. This module will log no messages by 100 default or for specific contacts.
101 default, for privacy concerns. If you decide to change this, you should
102 inform your users.
103 101
104 ``` {.lua} 102 ``` {.lua}
105 default_archive_policy = false 103 default_archive_policy = true
106 ``` 104 ```
107 105
108 `default_archive_policy =` Meaning 106 `default_archive_policy =` Meaning
109 ---------------------------- ------------------------------------------------------ 107 ---------------------------- ------------------------------------------------------
110 `false` Store no messages. This is the default. 108 `false` Store no messages. This is the default.