# HG changeset patch # User Sean Egan # Date 1166135118 0 # Node ID ffec45ff82d08e8e9419b879cda0199d324a94e7 # Parent ae5eb8de9574038a0077b3cb8fc59d6615950cc0 [gaim-migrate @ 17999] Setting this namespaced attribute will tell the Google Talk servers that we can accept back a JID from the bind result that isn't necessarily related to the one we requested. This allows googlemail.com users to enter gmail.com as their server and still authenticate properly. Technically, we shouldn't need an attribute like this (this is all valid XMPP), but lesser clients might choke on this. committer: Tailor Script diff -r ae5eb8de9574 -r ffec45ff82d0 libgaim/protocols/jabber/auth.c --- a/libgaim/protocols/jabber/auth.c Thu Dec 14 16:45:42 2006 +0000 +++ b/libgaim/protocols/jabber/auth.c Thu Dec 14 22:25:18 2006 +0000 @@ -63,7 +63,10 @@ auth = xmlnode_new("auth"); xmlnode_set_namespace(auth, "urn:ietf:params:xml:ns:xmpp-sasl"); - + + xmlnode_set_attrib(auth, "xmlns:ga", "http://www.google.com/talk/protocol/auth"); + xmlnode_set_attrib(auth, "ga:client-users-full-bind-result", "true"); + response = g_string_new(""); response = g_string_append_len(response, "\0", 1); response = g_string_append(response, js->user->node);