cpw.darkrain42.xmpp.bosh: 3962b427: Fix login process for older servers usin...

paul at darkrain42.org paul at darkrain42.org
Sat Apr 4 15:20:49 EDT 2009


-----------------------------------------------------------------
Revision: 3962b427a087df544a52cae8dec0fc6d1d2e1635
Ancestor: 095d145f5bd3572daa52ffb9ee17e45fd1f2683b
Author: paul at darkrain42.org
Date: 2009-04-04T18:44:17
Branch: im.pidgin.cpw.darkrain42.xmpp.bosh
URL: http://d.pidgin.im/viewmtn/revision/info/3962b427a087df544a52cae8dec0fc6d1d2e1635

Modified files:
        libpurple/protocols/jabber/auth.c

ChangeLog: 

Fix login process for older servers using IQ-auth.

See b3b179b8def361326c66b090679e52804802631e for the first part of this.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/auth.c	fd5a5a696e80d6fca46287b090d6c20597c8384e
+++ libpurple/protocols/jabber/auth.c	b89d4a5e1ae98b06c37a174dec36d8c762b2cee4
@@ -571,7 +571,7 @@ static void auth_old_result_cb(JabberStr
 	const char *type = xmlnode_get_attrib(packet, "type");
 
 	if(type && !strcmp(type, "result")) {
-		jabber_stream_set_state(js, JABBER_STREAM_CONNECTED);
+		jabber_disco_items_server(js);
 	} else {
 		PurpleConnectionError reason = PURPLE_CONNECTION_ERROR_NETWORK_ERROR;
 		char *msg = jabber_parse_error(js, packet, &reason);


More information about the Commits mailing list