core/stanza_router.lua

changeset 2875
2c538d4bde13
parent 2842
298d0ed3f40d
child 2876
fa84451e9b35
--- a/core/stanza_router.lua	Fri Nov 20 17:12:12 2009 +0100
+++ b/core/stanza_router.lua	Thu Mar 04 02:20:17 2010 +0500
@@ -36,7 +36,7 @@
 		end
 	end
 
-	if origin.type == "c2s" then
+	if origin.type == "c2s" and stanza.attr.xmlns == "jabber:client" then
 		if not origin.full_jid
 			and not(stanza.name == "iq" and stanza.attr.type == "set" and stanza.tags[1] and stanza.tags[1].name == "bind"
 					and stanza.tags[1].attr.xmlns == "urn:ietf:params:xml:ns:xmpp-bind") then

mercurial