aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-12-02 14:28:52 +0100
committerKim Alvefur <zash@zash.se>2021-12-02 14:28:52 +0100
commit16f0d487950a8cdbb5a7735ff1b994efa68c83fd (patch)
treedfac3d439647ff7b31191127ffc3f142708c24a5 /plugins
parentf5b06065141a929407c1c3d6def8f4b2a9355234 (diff)
downloadprosody-16f0d487950a8cdbb5a7735ff1b994efa68c83fd.tar.gz
prosody-16f0d487950a8cdbb5a7735ff1b994efa68c83fd.zip
mod_smacks: Remove obsolete comment
It dates back to the initial commit in prosody-modules 9a7671720dec
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_smacks.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/mod_smacks.lua b/plugins/mod_smacks.lua
index 35390781..af54bdc4 100644
--- a/plugins/mod_smacks.lua
+++ b/plugins/mod_smacks.lua
@@ -393,11 +393,6 @@ end
module:hook_tag(xmlns_sm2, "a", handle_a);
module:hook_tag(xmlns_sm3, "a", handle_a);
---TODO: Optimise... incoming stanzas should be handled by a per-session
--- function that has a counter as an upvalue (no table indexing for increments,
--- and won't slow non-198 sessions). We can also then remove the .handled flag
--- on stanzas
-
local function handle_unacked_stanzas(session)
local queue = session.outgoing_stanza_queue;
local error_attr = { type = "cancel" };