plugins/muc/muc.lib.lua
changeset 9651 0f43b901c854
parent 9645 0ce404230388
child 9721 537f6a27bdb6
--- a/plugins/muc/muc.lib.lua	Mon Nov 26 19:48:17 2018 +0100
+++ b/plugins/muc/muc.lib.lua	Tue Nov 27 17:01:47 2018 +0100
@@ -428,13 +428,6 @@
 end, 1);
 
 function room_mt:handle_first_presence(origin, stanza)
-	if not stanza:get_child("x", "http://jabber.org/protocol/muc") then
-		module:log("debug", "Room creation without <x>, possibly desynced");
-
-		origin.send(st.error_reply(stanza, "cancel", "item-not-found"));
-		return true;
-	end
-
 	local real_jid = stanza.attr.from;
 	local dest_jid = stanza.attr.to;
 	local bare_jid = jid_bare(real_jid);