From 86617ab0085dd194a10998984b650b5e5b39bb93 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 20 Dec 2021 00:21:04 +0100 Subject: mod_smacks: Add future todo The vision: All the queueing and counting and session replacement logic in core, with mod_smacks only hooking this up to the XEP-0198 protocol. --- plugins/mod_smacks.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/mod_smacks.lua b/plugins/mod_smacks.lua index fe60bce3..c52b268c 100644 --- a/plugins/mod_smacks.lua +++ b/plugins/mod_smacks.lua @@ -274,6 +274,7 @@ module:hook_tag("http://etherx.jabber.org/streams", "features", function (session, stanza) -- Needs to be done after flushing sendq since those aren't stored as -- stanzas and counting them is weird. + -- TODO unify sendq and smqueue timer.add_task(1e-6, function () if can_do_smacks(session) then if stanza:get_child("sm", xmlns_sm3) then -- cgit v1.2.3