diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-04-05 20:06:39 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-04-05 20:06:39 +0100 |
commit | a27b83955118295304b593d0f7874958b57d610a (patch) | |
tree | 29ca0bb0ece050ecd4f922ceef94b8c2101ebfb8 /plugins/mod_component.lua | |
parent | 08a1dbd27f868ee5cdfb7efdd98cc3ea5d3bdffb (diff) | |
download | prosody-a27b83955118295304b593d0f7874958b57d610a.tar.gz prosody-a27b83955118295304b593d0f7874958b57d610a.zip |
sessionmanager, s2smanager, mod_component: Send reply </stream:stream> when client closes stream
Diffstat (limited to 'plugins/mod_component.lua')
-rw-r--r-- | plugins/mod_component.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua index 5b59ca70..dbb52bf2 100644 --- a/plugins/mod_component.lua +++ b/plugins/mod_component.lua @@ -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; |