# HG changeset patch # User Kim Alvefur # Date 1449364104 -3600 # Node ID 31d8e1a8a014ac9db58212ad4ba7ee660269538d # Parent 828a10e0464be908753bce5b73207da5108b3123 mod_blocklist: Add comment about compliance issue #575 diff -r 828a10e0464b -r 31d8e1a8a014 plugins/mod_blocklist.lua --- a/plugins/mod_blocklist.lua Sun Dec 06 02:07:15 2015 +0100 +++ b/plugins/mod_blocklist.lua Sun Dec 06 02:08:24 2015 +0100 @@ -277,6 +277,9 @@ module:hook("pre-message/full", bounce_outgoing, prio_out); module:hook("pre-message/host", bounce_outgoing, prio_out); +-- Note: MUST bounce these, but we don't because this would produce +-- lots of error replies due to server-generated presence. +-- FIXME some day, likely needing changes to mod_presence 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);