mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
sessionmanager, s2smanager, mod_component: Send reply </stream:stream> when client closes stream
This commit is contained in:
parent
08a1dbd27f
commit
a27b839551
3 changed files with 12 additions and 0 deletions
|
@ -69,6 +69,8 @@ function stream_callbacks.streamopened(session, attr)
|
|||
end
|
||||
|
||||
function stream_callbacks.streamclosed(session)
|
||||
session.send("</stream:stream>");
|
||||
session.notopen = true;
|
||||
end
|
||||
|
||||
local core_process_stanza = core_process_stanza;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue