changeset 26540:f25410b0827c

Fix login process for older servers using IQ-auth. See b3b179b8def361326c66b090679e52804802631e for the first part of this.
author Paul Aurich <paul@darkrain42.org>
date Sat, 04 Apr 2009 18:44:17 +0000
parents 20743d9bd62d
children 81b30f96250e
files libpurple/protocols/jabber/auth.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth.c	Sat Apr 04 17:01:59 2009 +0000
+++ b/libpurple/protocols/jabber/auth.c	Sat Apr 04 18:44:17 2009 +0000
@@ -571,7 +571,7 @@
 	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);