Software /
code /
prosody
Changeset
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 | 9147:e2bf4cd6d7a3 |
children | 9149:d03f21729b2c |
files | plugins/muc/muc.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
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