Mercurial > prosody-wiki
diff mod_mam.wiki @ 452:416ec6673229
mod_mam: Clarify some options
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 27 Apr 2014 03:40:58 +0200 |
parents | b2ebc4473c4c |
children | 1adeefc201d5 |
line wrap: on
line diff
--- a/mod_mam.wiki Sun Apr 27 03:39:53 2014 +0200 +++ b/mod_mam.wiki Sun Apr 27 03:40:58 2014 +0200 @@ -27,16 +27,19 @@ } }}} +See [https://prosody.im/doc/storage Prosodys data storage documentation] +for more info on how to configure storage for different plugins. + = Configuration = The MAM protocol includes a method of changing preferecens regarding what messages should be stored. This allows users to enable or disable -archiving by default, and set rules for specific contacts. This module -will log no messages by default, for privacy concerns. If you decide to +archiving by default, and set rules for specific contacts. This module +will log no messages by default, for privacy concerns. If you decide to change this, you should inform your users. {{{ - default_archive_policy = true or false or "roster"; + default_archive_policy = false -- other options are true or "roster"; }}} This controls what messages are archived if the user hasn't set a @@ -47,7 +50,7 @@ * `true` means is to store all messages. {{{ - max_archive_query_results = 50; + max_archive_query_results = 20; }}} This is the largest number of messages that are allowed to be retrieved in one request.