mod_smacks: Add future todo
authorKim Alvefur <zash@zash.se>
Mon, 20 Dec 2021 00:21:04 +0100
changeset 12085 6cc3135138d7
parent 12084 9744a0ceb767
child 12086 e87563fefd85
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
--- 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