core/modulemanager.lua

changeset 1173
09a4cd461673
parent 1167
5620ea24be94
child 1174
f7b6d5839092
--- a/core/modulemanager.lua	Sat May 16 03:58:05 2009 +0500
+++ b/core/modulemanager.lua	Sat May 16 05:07:51 2009 +0500
@@ -231,7 +231,7 @@
 			if stanza.attr.type ~= "error" and stanza.attr.type ~= "result" then
 				origin.send(st.error_reply(stanza, "cancel", "service-unavailable"));
 			end
-		else
+		elseif not(name == "features" and xmlns == "http://etherx.jabber.org/streams") then -- FIXME remove check once we handle S2S features
 			origin:close("unsupported-stanza-type");
 		end
 	end

mercurial