mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
Merge 0.12->trunk
This commit is contained in:
commit
762e56920b
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue