aboutsummaryrefslogtreecommitdiffstats
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
commit8596a62e17646e5ff7af877d9c70a7875e65a155 (patch)
treef794a4748b8fa3004c58cc650e4188e7fd7f94af
parent4c2d352eccebd88cbeb309b2d26e1049ee3569c8 (diff)
downloadprosody-8596a62e17646e5ff7af877d9c70a7875e65a155.tar.gz
prosody-8596a62e17646e5ff7af877d9c70a7875e65a155.zip
MUC: Remove <item> from room destruction announcement, it's added later somwehere
-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