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
commita60bc20468b9c78cbf5e72ce090a755f23a4d61e (patch)
treefc090a5ddcdc90dc6c5ef67c92756decf3f60fe7 /plugins/muc
parent4c736a4317ed7f4213ec01feb0714472d5431b11 (diff)
downloadprosody-a60bc20468b9c78cbf5e72ce090a755f23a4d61e.tar.gz
prosody-a60bc20468b9c78cbf5e72ce090a755f23a4d61e.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