changeset 259:6fb8d4252b73

Update mod_mam page with defaultĀ³ info
author Kim Alvefur <zash@zash.se>
date Sun, 15 Jan 2012 04:31:41 +0100
parents 440f4d3ee523
children ca66f14190ac
files mod_mam.wiki
diffstat 1 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_mam.wiki	Sun Jan 15 01:46:33 2012 +0000
+++ b/mod_mam.wiki	Sun Jan 15 04:31:41 2012 +0100
@@ -26,12 +26,23 @@
 
 = Configuration =
 
+{{{
+	default_archive_policy = true or false or "roster";
+}}}
+
+This controls what messages are archived if the user hasn't set a matching rule, or another personal default.
+
+ * `false` means to store no messages. This is the built in default.
+ * `"roster"` means to store messages to/from contacts in the users roster.
+ * `true` means is to store all messages.
+
+
 = Compatibility =
 || 0.8.0 || Works ||
 || trunk || Should work ||
 
 = TODO =
 
-	* Preferences
 	* Optimize
 	* Use new stanza archive API once it appears
+	* Policy enforcing.