aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-07-11 11:48:56 +0200
committerKim Alvefur <zash@zash.se>2018-07-11 11:48:56 +0200
commitc98bf477c715cc2bf7c731b3ea1ba5e356cb440d (patch)
treef794a4748b8fa3004c58cc650e4188e7fd7f94af /plugins/muc
parent51620914670b2e1ba45b8442af488a018e728614 (diff)
downloadprosody-c98bf477c715cc2bf7c731b3ea1ba5e356cb440d.tar.gz
prosody-c98bf477c715cc2bf7c731b3ea1ba5e356cb440d.zip
MUC: Remove <item> from room destruction announcement, it's added later somwehere
Diffstat (limited to 'plugins/muc')
-rw-r--r--plugins/muc/muc.lib.lua1
1 files changed, 0 insertions, 1 deletions
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