Software /
code /
prosody
Comparison
plugins/mod_blocklist.lua @ 6969:31d8e1a8a014
mod_blocklist: Add comment about compliance issue #575
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 06 Dec 2015 02:08:24 +0100 |
parent | 6968:828a10e0464b |
child | 6970:cde7d14052f9 |
comparison
equal
deleted
inserted
replaced
6968:828a10e0464b | 6969:31d8e1a8a014 |
---|---|
275 | 275 |
276 module:hook("pre-message/bare", bounce_outgoing, prio_out); | 276 module:hook("pre-message/bare", bounce_outgoing, prio_out); |
277 module:hook("pre-message/full", bounce_outgoing, prio_out); | 277 module:hook("pre-message/full", bounce_outgoing, prio_out); |
278 module:hook("pre-message/host", bounce_outgoing, prio_out); | 278 module:hook("pre-message/host", bounce_outgoing, prio_out); |
279 | 279 |
280 -- Note: MUST bounce these, but we don't because this would produce | |
281 -- lots of error replies due to server-generated presence. | |
282 -- FIXME some day, likely needing changes to mod_presence | |
280 module:hook("pre-presence/bare", drop_outgoing, prio_out); | 283 module:hook("pre-presence/bare", drop_outgoing, prio_out); |
281 module:hook("pre-presence/full", drop_outgoing, prio_out); | 284 module:hook("pre-presence/full", drop_outgoing, prio_out); |
282 module:hook("pre-presence/host", drop_outgoing, prio_out); | 285 module:hook("pre-presence/host", drop_outgoing, prio_out); |
283 | 286 |
284 module:hook("pre-iq/bare", bounce_outgoing, prio_out); | 287 module:hook("pre-iq/bare", bounce_outgoing, prio_out); |