aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/sessionmanager.lua2
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