--- a/plugins/muc/muc.lib.lua Fri Oct 20 05:18:58 2017 +0200
+++ b/plugins/muc/muc.lib.lua Fri Feb 23 14:07:16 2018 +0100
@@ -371,7 +371,8 @@
:tag('status'):text(error_message));
self:save_occupant(occupant);
local x = st.stanza("x", {xmlns = "http://jabber.org/protocol/muc#user";})
- :tag("status", {code = "307"})
+ :tag("status", {code = "307"}):up()
+ :tag("status", {code = "333"})
self:publicise_occupant_status(occupant, x);
if occupant.jid == real_jid then -- Was last session
module:fire_event("muc-occupant-left", {room = self; nick = occupant.nick; occupant = occupant;});