Changeset

11985:3740cf7a66a3

mod_smacks: Remove obsolete comment It dates back to the initial commit in prosody-modules 9a7671720dec
author Kim Alvefur <zash@zash.se>
date Thu, 02 Dec 2021 14:28:52 +0100
parents 11984:a86ae74da96c
children 11986:3d5135e8a2a7
files plugins/mod_smacks.lua
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_smacks.lua	Thu Dec 02 13:56:50 2021 +0100
+++ b/plugins/mod_smacks.lua	Thu Dec 02 14:28:52 2021 +0100
@@ -393,11 +393,6 @@
 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" };