mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_blocklist: Allow mod_presence to handle subscription stanzas before bouncing outgoing presence (fixes #575)
This commit is contained in:
parent
bb47d9eed0
commit
b9a0fc550e
1 changed files with 3 additions and 6 deletions
|
@ -321,12 +321,9 @@ module:hook("pre-message/bare", bounce_outgoing, prio_out);
|
||||||
module:hook("pre-message/full", bounce_outgoing, prio_out);
|
module:hook("pre-message/full", bounce_outgoing, prio_out);
|
||||||
module:hook("pre-message/host", bounce_outgoing, prio_out);
|
module:hook("pre-message/host", bounce_outgoing, prio_out);
|
||||||
|
|
||||||
-- FIXME See #575 -- We MUST bounce these, but we don't because this
|
module:hook("pre-presence/bare", bounce_outgoing, -1);
|
||||||
-- would produce lots of error replies due to server-generated presence.
|
module:hook("pre-presence/host", bounce_outgoing, -1);
|
||||||
-- This will likely need changes to mod_presence
|
module:hook("pre-presence/full", bounce_outgoing, prio_out);
|
||||||
module:hook("pre-presence/bare", drop_outgoing, prio_out);
|
|
||||||
module:hook("pre-presence/full", drop_outgoing, prio_out);
|
|
||||||
module:hook("pre-presence/host", drop_outgoing, prio_out);
|
|
||||||
|
|
||||||
module:hook("pre-iq/bare", bounce_outgoing, prio_out);
|
module:hook("pre-iq/bare", bounce_outgoing, prio_out);
|
||||||
module:hook("pre-iq/full", bounce_outgoing, prio_out);
|
module:hook("pre-iq/full", bounce_outgoing, prio_out);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue