aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJonas Wielicki <jonas@wielicki.name>2018-05-17 17:11:42 +0200
committerJonas Wielicki <jonas@wielicki.name>2018-05-17 17:11:42 +0200
commit95ffd552f0bb05d6d9b96d68441a2c357200cca7 (patch)
treef2c62096de551a00cfb2b6e2317ce380d51f0be9 /plugins
parent3443da43a22c6c9b32023f0a7273f5d3cdeb3f58 (diff)
downloadprosody-95ffd552f0bb05d6d9b96d68441a2c357200cca7.tar.gz
prosody-95ffd552f0bb05d6d9b96d68441a2c357200cca7.zip
MUC: correctly emit <status/> tags
Diffstat (limited to 'plugins')
-rw-r--r--plugins/muc/muc.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index 12ecdbda..08c563c5 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -1134,7 +1134,7 @@ function room_mt:set_affiliations(actor, jid_affiliation, callback)
: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";