aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-01-19 21:14:31 +0100
committerKim Alvefur <zash@zash.se>2023-01-19 21:14:31 +0100
commit762e56920b183d8334cc7fe4eb9c46ca561f273a (patch)
tree5ad80548fa48812a54921a511e2f6920e44cea02 /plugins
parent66d38cb19903a8da08b66479bda3441b9faf5526 (diff)
parent67b6440d9ba5c66fc1f7e51df911540c33177138 (diff)
downloadprosody-762e56920b183d8334cc7fe4eb9c46ca561f273a.tar.gz
prosody-762e56920b183d8334cc7fe4eb9c46ca561f273a.zip
Merge 0.12->trunk
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 d5b3e847..c5ff6644 100644
--- a/plugins/mod_smacks.lua
+++ b/plugins/mod_smacks.lua
@@ -544,6 +544,7 @@ module:hook("pre-resource-unbind", function (event)
session.conn = nil;
conn:close();
end
+ session.log("debug", "Session going into hibernation (not being destroyed)")
module:fire_event("smacks-hibernation-start", { origin = session; queue = session.outgoing_stanza_queue:table() });
return true; -- Postpone destruction for now
end);