comparison mod_csi_simple_compat/README.markdown @ 4008:ec9011df2dc6

Merge
author JC Brand <jc@opkode.com>
date Fri, 01 May 2020 11:34:43 +0200
parents fcea7cf91702
children
comparison
equal deleted inserted replaced
4007:845d13ab0dc0 4008:ec9011df2dc6
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