aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-12-20 00:21:04 +0100
committerKim Alvefur <zash@zash.se>2021-12-20 00:21:04 +0100
commit86617ab0085dd194a10998984b650b5e5b39bb93 (patch)
tree697f1f93b92961d30efb73c6669f7ee45a7b2c60 /plugins
parentafb195c62390670c8eee3a943b9108cf9086bf74 (diff)
downloadprosody-86617ab0085dd194a10998984b650b5e5b39bb93.tar.gz
prosody-86617ab0085dd194a10998984b650b5e5b39bb93.zip
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.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_smacks.lua1
1 files changed, 1 insertions, 0 deletions
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