# HG changeset patch # User Waqas Hussain # Date 1267651217 -18000 # Node ID 2c538d4bde138de388a26f5623ac261b17843d34 # Parent 54c8b395278636000b297f1247682346b1127584 stanza_router: Allow non-jabber:client elements after auth, before bind. diff -r 54c8b3952786 -r 2c538d4bde13 core/stanza_router.lua --- 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