Mercurial > prosody-modules
view mod_block_outgoing/README.markdown @ 5113:85a7304cfea1
mod_pubsub_mqtt: Support atom_title payload type
This commit adds the ability to publish and subscribe with arbitrary payload
types. It has a breaking change, which is that topics are now of the form:
HOST/TYPE/NODE
Currently supported types are utf8_data, json and atom_title.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 16 Dec 2022 22:16:45 +0000 |
parents | 34fb3d239ac1 |
children |
line wrap: on
line source
--- summary: 'Block outgoing stanzas from users' ... Introduction ============ This module blocks all outgoing stanzas from a list of users. Using ===== Add mod_block_outgoing to the enabled modules in your config file: ``` {.lua} modules_enabled = { -- ... "block_outgoing", -- ... } ``` Either in a section for a certain host or the global section define which users and what stanzas to block: ``` {.lua} block_outgoing_users = { "romeo@example.com", "juliet@example.com" } block_outgoing_stanzas = { "message", "iq", "presence" } ``` block_outgoing_stanzas defaults to "message" if not specified. Compatibility ============= ------- -------------- trunk Doesn't work (uses is_admin) 0.12 Works 0.11 Works ------- --------------