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.
--- a/plugins/mod_smacks.lua Mon Dec 20 00:18:47 2021 +0100
+++ b/plugins/mod_smacks.lua Mon Dec 20 00:21:04 2021 +0100
@@ -274,6 +274,7 @@
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