Software /
code /
prosody
Changeset
12081:6cc3135138d7
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 20 Dec 2021 00:21:04 +0100 |
parents | 12080:9744a0ceb767 |
children | 12082:e87563fefd85 |
files | plugins/mod_smacks.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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