Software / code / prosody-modules
Comparison
mod_mam_archive/README.markdown @ 1903:758a9a723597
mod_mam_archive/README: Rely on autolinking
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 11 Oct 2015 17:50:38 +0200 |
| parent | 1821:79b9bd84b91c |
comparison
equal
deleted
inserted
replaced
| 1902:6e712ce58edf | 1903:758a9a723597 |
|---|---|
| 12 [mod\_mam](mod_mam.html). | 12 [mod\_mam](mod_mam.html). |
| 13 | 13 |
| 14 Details | 14 Details |
| 15 ======= | 15 ======= |
| 16 | 16 |
| 17 See [mod\_mam](mod_mam.html) for details. | 17 See [mod\_mam] for details. |
| 18 | 18 |
| 19 Usage | 19 Usage |
| 20 ===== | 20 ===== |
| 21 | 21 |
| 22 First configure mod\_mam as specified in it's [wiki](mod_mam.html). Make | 22 First configure mod\_mam as specified in it's [wiki][mod\_mam]. Make |
| 23 sure it uses sql2 storage backend. | 23 sure it uses sql2 storage backend. |
| 24 | 24 |
| 25 Then add "mam\_archive" to your modules\_enabled list: | 25 Then add "mam\_archive" to your modules\_enabled list: |
| 26 | 26 |
| 27 modules_enabled = { | 27 modules_enabled = { |
| 31 } | 31 } |
| 32 | 32 |
| 33 Configuration | 33 Configuration |
| 34 ============= | 34 ============= |
| 35 | 35 |
| 36 Because of the fact that | 36 Because of the fact that [XEP-0136] defines a 'conversation' concept not |
| 37 [XEP-0136](http://xmpp.org/extensions/xep-0136.html) defines a | 37 present in [XEP-0313], we have to assume some periods of chat history as |
| 38 'conversation' concept not present in | 38 'conversations'. |
| 39 [XEP-0313](http://xmpp.org/extensions/xep-0313.html), we have to assume | |
| 40 some periods of chat history as 'conversations'. | |
| 41 | 39 |
| 42 Conversation interval defaults to one day, to provide for a convenient | 40 Conversation interval defaults to one day, to provide for a convenient |
| 43 usage. | 41 usage. |
| 44 | 42 |
| 45 archive_conversation_interval = 86400; -- defined in seconds. One day by default | 43 archive_conversation_interval = 86400; -- defined in seconds. One day by default |