view mod_storage_muc_log/README.markdown @ 2752:d0e75bf21d30

mod_delegation: added disco#items support disco#items are forwarded to managing entity when suitable. This feature is not yet in XEP-0355, but it should be added soon. "http://jabber.org/protocol/disco#items:*" is used as a pseudo-namespace to activate this delegation. Also changed spaces to tabs to follow Prosody coding style.
author Goffi <goffi@goffi.org>
date Sun, 27 Aug 2017 20:46:04 +0200
parents 79b9bd84b91c
children 37a6121b7373
line wrap: on
line source

---
labels:
- 'Stage-Alpha'
- ArchiveStorage
summary: 'Storage module using mod\_muc\_log data with new stanza archive API'
...

Introduction
============

[mod\_muc\_log](mod_muc_log.html) provided logging of chatrooms running on
the server to Prosody's data store. This module gives access to this
data using the 0.10+ stanza archive API, allowing legacy log data to be
used with [mod\_mam\_muc](mod_mam_muc.html) and
[mod\_http\_muc\_log](mod_http_muc_log.html).

Details
=======

Replace mod\_muc\_log (and mod\_muc\_log\_http) in your config with

``` {.lua}
Component "conference.example.org" "muc"
modules_enabled = {
  -- "muc_log"; -- functionality replaced by mod_mam_muc + mod_storage_muc_log
    "mam_muc"; -- Does logging to storage backend configured below

    -- "muc_log_http"; -- Replaced by the mod_http_muc_log
    "http_muc_log";
}
storage = {
  muc_log = "muc_log";
}
```

Compatibility
=============

Requires Prosody 0.10 or above.