core/stanza_router.lua

changeset 2917
2a6552b22f01
parent 2687
f9bc95aadc26
child 2918
79ca9f686aaf
--- a/core/stanza_router.lua	Mon Mar 22 14:58:25 2010 +0000
+++ b/core/stanza_router.lua	Mon Mar 22 15:04:22 2010 +0000
@@ -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