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
commit4cc144b4fcffb34842c212896593c4df8c83740b (patch)
tree4a170423eb9c61056faa2e998e064d5184e54df8
parente3f5e38ccb34f646af4f02c5c6e9c86539d88013 (diff)
downloadprosody-4cc144b4fcffb34842c212896593c4df8c83740b.tar.gz
prosody-4cc144b4fcffb34842c212896593c4df8c83740b.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);