Software /
code /
prosody-modules
Changeset
2915:b8f2e86df7ce
mod_firewall: Add UNSBSCRIBE SENDER action
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 09 Mar 2018 13:35:11 +0000 |
parents | 2914:0d2d4d5bb5f5 |
children | 2916:b1cdcbcd1c90 |
files | mod_firewall/actions.lib.lua |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_firewall/actions.lib.lua Wed Mar 07 22:21:43 2018 +0100 +++ b/mod_firewall/actions.lib.lua Fri Mar 09 13:35:11 2018 +0000 @@ -228,4 +228,9 @@ return ("list_%s:add(%s);"):format(list_name, value), { "list:"..list_name, unpack(meta_deps) }; end +function action_handlers.UNSUBSCRIBE_SENDER() + return "rostermanager.unsubscribed(to_node, to_host, bare_from)", + { "rostermanager", "split_to", "bare_to", "bare_from" }; +end + return action_handlers;