# HG changeset patch # User alex.bogdanov91@gmail.com # Date 1405442575 0 # Node ID 739ba93e66f2ea7407ddd6358e7714ed6f9a9205 # Parent 25afe4b60780f7bfb0aeef45c766cd000f8baf51 Created wiki page through web user interface. diff -r 25afe4b60780 -r 739ba93e66f2 mod_mam_archive.wiki --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mod_mam_archive.wiki Tue Jul 15 16:42:55 2014 +0000 @@ -0,0 +1,44 @@ +#summary XEP-0136: Message Archiving frontend for mod_mam +#labels Stage-Alpha + += Introduction = + +Implementation of [http://xmpp.org/extensions/xep-0136.html XEP-0136: Message Archiving] for [mod_mam]. + + += Details = + +See [mod_mam] for details. + += Usage = + +First configure mod_mam as specified in it's [mod_mam wiki]. Make sure it uses sql2 storage backend. + +Then add "mam_archive" to your modules_enabled list: +{{{ + modules_enabled = { + -- ... + "mam_archive", + -- ... + } +}}} + += Configuration = + +Because of the fact that [http://xmpp.org/extensions/xep-0136.html XEP-0136] defines a 'conversation' concept not present in [http://xmpp.org/extensions/xep-0313.html XEP-0313], we have to assume some periods of chat history as 'conversations'. + +Conversation interval defaults to one day, to provide for a convenient usage. + +{{{ +archive_conversation_interval = 86400; -- defined in seconds. One day by default +}}} + +That is the only reason SQL database is required as well. + += Compatibility = +|| 0.10 || Works || +|| 0.9 || Does not work || + +|| PostgreSQL || Tested || +|| MySQL || Not tested || +|| SQLite || Not tested || \ No newline at end of file