mod_csi_simple_compat/README.markdown
changeset 4010 fcea7cf91702
equal deleted inserted replaced
4009:fe6cb37ac180 4010: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