From c98bf477c715cc2bf7c731b3ea1ba5e356cb440d Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 11 Jul 2018 11:48:56 +0200 Subject: MUC: Remove from room destruction announcement, it's added later somwehere --- plugins/muc/muc.lib.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'plugins/muc') diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 5a295bd9..f975fc69 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -843,7 +843,6 @@ end 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 -- cgit v1.2.3