aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-08-08 08:12:36 +0100
committerMatthew Wild <mwild1@gmail.com>2018-08-08 08:12:36 +0100
commit31bcbe0ec16bb09f95ab572dbccf203dd7edcaa6 (patch)
treefc090a5ddcdc90dc6c5ef67c92756decf3f60fe7 /plugins/muc
parentf354f4835cfa2116cd6609ab00ca2ce2ff21db93 (diff)
downloadprosody-31bcbe0ec16bb09f95ab572dbccf203dd7edcaa6.tar.gz
prosody-31bcbe0ec16bb09f95ab572dbccf203dd7edcaa6.zip
MUC: Remove 307 status from error-kicks (fixes #939)
Diffstat (limited to 'plugins/muc')
-rw-r--r--plugins/muc/muc.lib.lua3
1 files changed, 1 insertions, 2 deletions
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