Changeset

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
parents 6968:828a10e0464b
children 6970:cde7d14052f9
files plugins/mod_blocklist.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);