Software /
code /
prosody-modules
Comparison
mod_muc_mam_hints/README.markdown @ 3463:2aaf93d2b219
mod_muc_mam_hints: Respect XEP-0334 hints in MUC messages
Hook muc-message-is-historic and check if Message Processing
Hints are present to compute the return value.
author | marc0s <marcos@tenak.net> |
---|---|
date | Wed, 13 Feb 2019 15:52:58 +0100 |
comparison
equal
deleted
inserted
replaced
3462:d73ed7975d82 | 3463:2aaf93d2b219 |
---|---|
1 --- | |
2 labels: | |
3 - 'Stage-Alpha' | |
4 summary: 'Support XEP-0334: Message Processing Hints for MUC messages' | |
5 ... | |
6 | |
7 Introduction | |
8 ============ | |
9 | |
10 This module will check for MUC messages with XEP-0334 Message | |
11 Processing Hints tags to qualify those messages as "historic" | |
12 for later MAM archiving or not. | |
13 | |
14 Usage | |
15 ===== | |
16 | |
17 First copy the module to the prosody plugins directory. | |
18 | |
19 Then add "muc\_mam\_hints" to your modules\_enabled list in your MUC | |
20 component: | |
21 | |
22 ``` {.lua} | |
23 Component "conference.example.org" "muc" | |
24 modules_enabled = { | |
25 "muc_mam", | |
26 "muc_mam_hints", | |
27 } | |
28 ``` |