comparison mod_csi_simple_compat/README.markdown @ 4006:fcea7cf91702

mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
author Kim Alvefur <zash@zash.se>
date Fri, 01 May 2020 00:54:32 +0200
parents
children
comparison
equal deleted inserted replaced
4005:fe6cb37ac180 4006:fcea7cf91702
1 # About
2
3 This module allows using the [mod_csi_simple][doc:modules:mod_csi_simple]
4 setting `csi_important_payloads` (added in trunk/0.12) in Prosody 0.11.x.
5
6 # Config
7
8 ```
9 modules_enabled = {
10 -- other modules etc
11 "csi_simple",
12 "csi_simple_compat",
13 }
14
15 csi_important_payloads = {
16 -- Anything in this namespace:
17 "{urn:example:important-namespace}",
18 -- Specific element name and namespace:
19 "{urn:example:xmpp:priority}super-important",
20 }
21 ```
22
23 # Example
24
25 ``` lua
26 csi_important_payloads = {
27 -- XEP-0353: Jingle Message Initiation
28 "{urn:xmpp:jingle-message:0}",
29 }
30 ```
31