diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-04-03 01:29:59 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-04-03 01:29:59 +0100 |
commit | 4ec39b859c9b5d75e74e93c50044d86883f5e33d (patch) | |
tree | 59c87e9e1fad04957e200a6eae0afc96c191a290 | |
parent | 9fbd3cafeecebd284f7a56bc6153a7f1d0f2cbf4 (diff) | |
download | prosody-4ec39b859c9b5d75e74e93c50044d86883f5e33d.tar.gz prosody-4ec39b859c9b5d75e74e93c50044d86883f5e33d.zip |
core.sessionmanager: Hop out of <status> tag so that MUC doesn't insert into the wrong level
-rw-r--r-- | core/sessionmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index efc99366..b2b3c31b 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -59,7 +59,7 @@ function destroy_session(session, err) if session.presence then local pres = st.presence{ type = "unavailable" }; if (not err) or err == "closed" then err = "connection closed"; end - pres:tag("status"):text("Disconnected: "..err); + pres:tag("status"):text("Disconnected: "..err):up(); session:dispatch_stanza(pres); end |