This module logs the conversation of chatrooms running on the server to Prosody’s archive storage. To access them you will need a client with support for XEP-0313: Message Archive Management version 0.5 or a module such as mod_http_muc_log.


First copy the module to the prosody plugins directory.

Then add “mam_muc” to your modules_enabled list:

mod_mam_muc needs an archive-capable storage module, see Prosodys storage documentation for how to select one. The store is called “muc_log”.


Logging needs to be enabled for each room in the room configuration dialog.


trunk Use mod_muc_mam (included with Prosody)
0.11 Use mod_muc_mam (included with Prosody)
0.10 Works partially, only legacy XEP-0313 (version 0.5, namespace urn:xmpp:mam:1)
0.9 Does not work
0.8 Does not work

Prosody trunk (after April 2014) has a major rewrite of the MUC module, allowing easier integration, but this module is not compatible with that.