Mercurial > prosody-modules
view mod_muc_block_pm/README.markdown @ 5954:e5b5a74feb91
mod_rest: Workaround lack of number coercion in util.datamapper for HTTP upload
util.datamapper will not coerce a string into an integer like the
XEP-0363 'size' slot, which becomes a problem when using the HTTP GET
method, passing fields as ?query parameters which are always strings.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 19 Aug 2024 20:08:41 +0200 |
parents | c7e532ac6bf7 |
children |
line wrap: on
line source
--- summary: Prevent MUC participants from sending PMs --- # Introduction This module prevents *participants* from sending private messages to anyone except *moderators*. # Configuration The module doesn't have any options, just load it onto a MUC component. ``` lua Component "muc" modules_enabled = { "muc_block_pm"; } ``` # Compatibility Branch State -------- ----------------- 0.11 Will **not** work 0.12 Should work