aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-12-06 02:08:24 +0100
committerKim Alvefur <zash@zash.se>2015-12-06 02:08:24 +0100
commit4b1ba49a85adf72d3cbdb2b8cb83e52b1ed4e9e6 (patch)
tree4a170423eb9c61056faa2e998e064d5184e54df8
parent0ec9e20543e2daeadc3bfca1cfc0c3f63e02d65c (diff)
downloadprosody-4b1ba49a85adf72d3cbdb2b8cb83e52b1ed4e9e6.tar.gz
prosody-4b1ba49a85adf72d3cbdb2b8cb83e52b1ed4e9e6.zip
mod_blocklist: Add comment about compliance issue #575
-rw-r--r--plugins/mod_blocklist.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_blocklist.lua b/plugins/mod_blocklist.lua
index b68c08d1..add7abb3 100644
--- a/plugins/mod_blocklist.lua
+++ b/plugins/mod_blocklist.lua
@@ -277,6 +277,9 @@ module:hook("pre-message/bare", bounce_outgoing, prio_out);
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);