comparison mod_muc_archive/README.markdown @ 3968:bf5d91769f99

Merge commit
author tmolitor <thilo@eightysoft.de>
date Sun, 05 Apr 2020 23:39:08 +0200
parents 7e96b95924bd
children
comparison
equal deleted inserted replaced
3967:0957ba6aeb99 3968:bf5d91769f99
1 ---
2 labels:
3 - 'Stage-Beta'
4 summary: Log MUC messages to disk
5 ...
6
7 # Introduction
8
9 This module logs the conversations of chatrooms running on the server to Prosody's data store.
10
11 This is a fork of [mod_muc_log](https://modules.prosody.im/mod_muc_log.html) which uses the newer storage API.
12 This allows you to also log messages to a SQL backend.
13
14 ## Changes between mod_muc_archive and mod_muc_log:
15
16 - Use newer module storage API so that you can also store in SQL
17 - Adhere to config option `muc_log_all_rooms` (also used by mod_muc_mam)
18 - Add affiliation information in the logged stanza
19 - Remove code that set (and then removed) an "alreadyJoined" dummy element
20
21 NOTE: The changes are unlikely to be entirely backwards compatible because the stanza
22 being logged is no longer wrapped with `<stanza time=...>`.
23
24 Details
25 =======
26
27 mod\_muc\_archive must be loaded individually for the components that need it.
28
29 Assuming you have a MUC component already running on
30 conference.example.org then you can add muc\_archive to it like so:
31
32 Component "conference.example.org" "muc"
33 modules_enabled = {
34 "muc_archive";
35 }
36
37
38 Compatibility
39 =============
40
41 ------ -----
42 0.11 Works
43 ------ -----