# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1531302536 -7200
# Node ID 1184f57625921b99dfb2b650382808c55501e2ce
# Parent  946ae1181c570953b718ffbf3944da5ecb265de3
MUC: Remove <item> from room destruction announcement, it's added later somwehere

diff -r 946ae1181c57 -r 1184f5762592 plugins/muc/muc.lib.lua
--- a/plugins/muc/muc.lib.lua	Wed Jul 11 03:38:01 2018 +0200
+++ b/plugins/muc/muc.lib.lua	Wed Jul 11 11:48:56 2018 +0200
@@ -843,7 +843,6 @@
 
 function room_mt:destroy(newjid, reason, password)
 	local x = st.stanza("x", {xmlns = "http://jabber.org/protocol/muc#user"})
-		:tag("item", { affiliation='none', role='none' }):up()
 		:tag("destroy", {jid=newjid});
 	if reason then x:tag("reason"):text(reason):up(); end
 	if password then x:tag("password"):text(password):up(); end