From 5865da240694e68e66721d95bb8be6fc3fd53c42 Mon Sep 17 00:00:00 2001 From: Jonas Wielicki Date: Thu, 17 May 2018 17:11:42 +0200 Subject: MUC: correctly emit tags --- plugins/muc/muc.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/muc/muc.lib.lua') 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"; -- cgit v1.2.3