Software /
code /
prosody-modules
Diff
mod_mam/README.markdown @ 1820:8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 02 Sep 2015 17:30:33 +0200 |
parent | 1804:3228fb928a93 |
child | 1835:6234e67ebe7a |
line wrap: on
line diff
--- a/mod_mam/README.markdown Wed Sep 02 16:43:34 2015 +0200 +++ b/mod_mam/README.markdown Wed Sep 02 17:30:33 2015 +0200 @@ -23,11 +23,13 @@ Then add "mam" to your modules\_enabled list: - modules_enabled = { - -- ... - "mam", - -- ... - } +``` {.lua} +modules_enabled = { + -- ... + "mam", + -- ... +} +``` Storage backend =============== @@ -38,9 +40,11 @@ For example, to use mod\_storage\_sql2: - storage = { - archive2 = "sql2"; - } +``` {.lua} +storage = { + archive2 = "sql2"; +} +``` Configuration ============= @@ -51,7 +55,9 @@ will log no messages by default, for privacy concerns. If you decide to change this, you should inform your users. - default_archive_policy = false -- other options are true or "roster"; +``` {.lua} +default_archive_policy = false -- other options are true or "roster"; +``` This controls what messages are archived if the user hasn't set a matching rule, or another personal default.