From: <sea...@us...> - 2006-12-14 22:25:18
|
Revision: 17999 http://svn.sourceforge.net/gaim/?rev=17999&view=rev Author: seanegan Date: 2006-12-14 14:25:18 -0800 (Thu, 14 Dec 2006) Log Message: ----------- 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. Modified Paths: -------------- trunk/libgaim/protocols/jabber/auth.c Modified: trunk/libgaim/protocols/jabber/auth.c =================================================================== --- trunk/libgaim/protocols/jabber/auth.c 2006-12-14 16:45:42 UTC (rev 17998) +++ trunk/libgaim/protocols/jabber/auth.c 2006-12-14 22:25:18 UTC (rev 17999) @@ -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); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |