Changeset

12720:0a137436490f

mod_smacks: Set session flag during successful enable
author Matthew Wild <mwild1@gmail.com>
date Sat, 03 Sep 2022 21:20:29 +0100
parents 12719:268b1a9162a9
children 12721:7830db3c38c3
files plugins/mod_smacks.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_smacks.lua	Sat Sep 03 21:20:07 2022 +0100
+++ b/plugins/mod_smacks.lua	Sat Sep 03 21:20:29 2022 +0100
@@ -336,6 +336,7 @@
 		finish = function ()
 			session.log("debug", "Enabling stream management");
 
+			session.smacks = stanza.attr.xmlns;
 			track_session(session, resume_token);
 			wrap_session(session, false);
 		end;