Software /
code /
prosody
Diff
plugins/muc/muc.lib.lua @ 8837:1b10802a770e
MUC: correctly emit <status/> tags
author | Jonas Wielicki <jonas@wielicki.name> |
---|---|
date | Thu, 17 May 2018 17:11:42 +0200 |
parent | 8836:564e897f0790 |
child | 8838:6d4b0895f76d |
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua Thu May 17 17:11:25 2018 +0200 +++ b/plugins/muc/muc.lib.lua Thu May 17 17:11:42 2018 +0200 @@ -1134,7 +1134,7 @@ :tag("reason"):text(reason or ""):up() :up(); local self_x = st.clone(x); - self_x:tag("status", {code="110"}); + self_x:tag("status", {code="110"}):up(); local presence_type = nil; if not role then -- getting kicked presence_type = "unavailable";