From 31bcbe0ec16bb09f95ab572dbccf203dd7edcaa6 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 8 Aug 2018 08:12:36 +0100 Subject: MUC: Remove 307 status from error-kicks (fixes #939) --- plugins/muc/muc.lib.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/muc') diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 270a7516..aae1d155 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -374,8 +374,7 @@ function room_mt:handle_kickable(origin, stanza) -- luacheck: ignore 212 local new_occupant = self:save_occupant(occupant); local x = st.stanza("x", {xmlns = "http://jabber.org/protocol/muc#user";}); if is_last_session then - x:tag("status", {code = "307"}):up() - :tag("status", {code = "333"}); + x:tag("status", {code = "333"}); end self:publicise_occupant_status(new_occupant or occupant, x); if is_last_session then -- cgit v1.2.3