# HG changeset patch # User Kim Alvefur # Date 1398562858 -7200 # Node ID 416ec66732298ce615032aee1e291b694a7f261c # Parent 171663daa144b2d98128cbfe9f95933087c73eb5 mod_mam: Clarify some options diff -r 171663daa144 -r 416ec6673229 mod_mam.wiki --- 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.