diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-03-04 02:20:17 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-03-04 02:20:17 +0500 |
commit | 836da37747ac1d76aa76dbc38354daac8c79bb40 (patch) | |
tree | 53bb491d1a43e58f3e1d3771622f6b83956456c0 /core | |
parent | 62dccf877bc7dd1eaaed5e9ebbe20b8b8b8f13ec (diff) | |
download | prosody-836da37747ac1d76aa76dbc38354daac8c79bb40.tar.gz prosody-836da37747ac1d76aa76dbc38354daac8c79bb40.zip |
stanza_router: Allow non-jabber:client elements after auth, before bind.
Diffstat (limited to 'core')
-rw-r--r-- | core/stanza_router.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua index b025511e..cd7c650b 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -36,7 +36,7 @@ function core_process_stanza(origin, stanza) 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 |