Changeset

9017:1184f5762592

MUC: Remove <item> from room destruction announcement, it's added later somwehere
author Kim Alvefur <zash@zash.se>
date Wed, 11 Jul 2018 11:48:56 +0200
parents 9016:946ae1181c57
children 9018:73320e33762d
files plugins/muc/muc.lib.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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