author | Kim Alvefur <zash@zash.se> |
Wed, 11 Jul 2018 12:05:06 +0200 | |
changeset 9022 | d780c10709c1 |
parent 9021 | 73320e33762d |
child 9023 | 19e51d8f8947 |
--- a/plugins/muc/mod_muc.lua Wed Jul 11 11:50:44 2018 +0200 +++ b/plugins/muc/mod_muc.lua Wed Jul 11 12:05:06 2018 +0200 @@ -404,6 +404,10 @@ room = nil; else local reply = st.error_reply(stanza, "cancel", "gone", room._data.reason) + if room._data.newjid then + local uri = "xmpp:"..room._data.newjid.."?join"; + reply:get_child("error"):child_with_name("gone"):text(uri); + end event.origin.send(reply); return true; end