Mercurial > prosody-hg
diff plugins/muc/muc.lib.lua @ 9148:a474c94d0b0a
MUC: Remove 307 status from error-kicks (fixes #939)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 08 Aug 2018 08:12:36 +0100 |
| parents | e2bf4cd6d7a3 |
| children | 11a0b32fef24 |
line wrap: on
line diff
--- 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
