diff options
author | Kim Alvefur <zash@zash.se> | 2022-11-18 16:18:47 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-11-18 16:18:47 +0100 |
commit | c916ce76ee89dca32e7e653dff1ade4732462efc (patch) | |
tree | ed1634ffc545b0d574e00df45caf6d6899ceaab5 /plugins | |
parent | ae84717255cb196013c1b0fe0a625b2b443e7dc4 (diff) | |
download | prosody-c916ce76ee89dca32e7e653dff1ade4732462efc.tar.gz prosody-c916ce76ee89dca32e7e653dff1ade4732462efc.zip |
mod_smacks: Only track resumable sessions
Required due to track_session() having moved here
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_smacks.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/mod_smacks.lua b/plugins/mod_smacks.lua index ee537b0d..4657fc53 100644 --- a/plugins/mod_smacks.lua +++ b/plugins/mod_smacks.lua @@ -338,7 +338,9 @@ function do_enable(session, stanza) session.log("debug", "Enabling stream management"); session.smacks = stanza.attr.xmlns; - track_session(session, resume_token); + if resume_token then + track_session(session, resume_token); + end wrap_session(session, false); end; }; |