aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-09-03 21:20:29 +0100
committerMatthew Wild <mwild1@gmail.com>2022-09-03 21:20:29 +0100
commit5f2c086da7bd3db208dd79d64bdc1af38592fc16 (patch)
tree8c2d89c94518681ebd2f0d8d25f6672ade94c4aa
parenta061b11f327222d20f4ab85e874805da261f49f8 (diff)
downloadprosody-5f2c086da7bd3db208dd79d64bdc1af38592fc16.tar.gz
prosody-5f2c086da7bd3db208dd79d64bdc1af38592fc16.zip
mod_smacks: Set session flag during successful enable
-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 7a07a9da..eaba198d 100644
--- a/plugins/mod_smacks.lua
+++ b/plugins/mod_smacks.lua
@@ -336,6 +336,7 @@ function do_enable(session, stanza)
finish = function ()
session.log("debug", "Enabling stream management");
+ session.smacks = stanza.attr.xmlns;
track_session(session, resume_token);
wrap_session(session, false);
end;