# HG changeset patch # User Matthew Wild <mwild1@gmail.com> # Date 1533712356 -3600 # Node ID a474c94d0b0a0def729d4bb4c8153e696de7e595 # Parent e2bf4cd6d7a3eb8e1a6a6dff4838a56dab941476 MUC: Remove 307 status from error-kicks (fixes #939) diff -r e2bf4cd6d7a3 -r a474c94d0b0a plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Wed Aug 08 08:10:11 2018 +0100 +++ b/plugins/muc/muc.lib.lua Wed Aug 08 08:12:36 2018 +0100 @@ -374,8 +374,7 @@ 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