Mercurial > prosody-modules
view mod_muc_block_pm/README.markdown @ 5804:c3eeeb968403
mod_pubsub_serverinfo: Detect existence of pub/sub node
Instead of blindly trying to create the pub/sub node to publish items to, a service discovery query is performed to check if node creation is required.
Added various bits of warn and debug logging, to give a user better feedback if and why something is failing.
author | Guus der Kinderen <guus.der.kinderen@gmail.com> |
---|---|
date | Thu, 04 Jan 2024 11:59:35 +0100 |
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