4 summary: 'XEP-0313: Message Archive Management for MUC'
10 This module logs the conversation of chatrooms running on the server to
11 Prosody's archive storage. To access them you will need a client with
12 support for [XEP-0313: Message Archive Management] **version 0.5** or
13 a module such as [mod_http_muc_log].
18 First copy the module to the prosody plugins directory.
20 Then add "mam\_muc" to your modules\_enabled list:
23 Component "conference.example.org" "muc"
29 mod\_mam\_muc needs an archive-capable storage module, see
30 [Prosodys storage documentation][doc:storage] for how to select one.
31 The store is called "muc\_log".
36 Logging needs to be enabled for each room in the room configuration
40 muc_log_by_default = true; -- Enable logging by default (can be disabled in room config)
42 muc_log_all_rooms = false; -- set to true to force logging of all rooms
44 -- This is the largest number of messages that are allowed to be retrieved when joining a room.
45 max_history_messages = 20;
51 ------- -----------------------------------------------------------------------------
52 trunk Use mod\_muc\_mam (included with Prosody)
53 0.11 Use mod\_muc\_mam (included with Prosody)
54 0.10 Works partially, only legacy XEP-0313 (version 0.5, namespace urn:xmpp:mam:1)
57 ------- -----------------------------------------------------------------------------
59 Prosody trunk (after April 2014) has a major rewrite of the MUC module,
60 allowing easier integration, but this module is not compatible with