# HG changeset patch # User Kim Alvefur # Date 1639956064 -3600 # Node ID 6cc3135138d7b5859d38104912d0d146d35196d8 # Parent 9744a0ceb767925195cdada6ab5ad9969c0a8b80 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. diff -r 9744a0ceb767 -r 6cc3135138d7 plugins/mod_smacks.lua --- 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