Mercurial > prosody-modules
view mod_storage_xmlarchive/README.markdown @ 2183:13a8bbf256dd
mod_storage_xmlarchive: Pass a default namespace to xmppstream so result items default to xmlns = nil (fixes non-mam use, like mod_mam_muc sending history)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 27 May 2016 18:25:17 +0200 |
parents | 2c6bc38f19a6 |
children | 1eeda34d668b |
line wrap: on
line source
--- labels: - 'Stage-Beta' - 'Type-Storage' - ArchiveStorage summary: XML archive storage ... Introduction ============ This module implements stanza archives using files, similar to the default "internal" storage. Configuration ============= To use this with [mod\_mam] add this to your config: ``` lua storage = { archive2 = "xmlarchive" } ``` To use it with [mod\_mam\_muc] or [mod\_http\_muc\_log]: ``` lua storage = { muc_log = "xmlarchive" } ``` Refer to [Prosodys data storage documentation][doc:storage] for more information. Note that this module does not implement the "keyval" storage method and can't be used by anything other than archives. Compatibility ============= ------ ------------------------------- 0.10 Works 0.9 **[Use this version][worksin09]** 0.8 Does not work ------ ------------------------------- [worksin09]: https://hg.prosody.im/prosody-modules/raw-file/004d3bfc05ea/mod_storage_xmlarchive/mod_storage_xmlarchive.lua