diff src/protocols/jabber/parser.c @ 8296:dd6fe7d965aa

[gaim-migrate @ 9020] committing piecemeal sucks, but filetransfer isn't ready for prime time yet. hopefully this doesn't break anything. this should fix the problems with empty <stream:features/> packets, fix a bug in MUC conferencing, and re-add the option for changing passwords on XMPP servers, until I write the code to actually detect that. Hopefully this compiles, and I didn't break anything. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 19 Feb 2004 14:57:41 +0000
parents 1350352f5818
children 25e63008d3bb
line wrap: on
line diff
--- a/src/protocols/jabber/parser.c	Thu Feb 19 14:52:09 2004 +0000
+++ b/src/protocols/jabber/parser.c	Thu Feb 19 14:57:41 2004 +0000
@@ -49,6 +49,8 @@
 				js->stream_id = g_strdup(attrib_values[i]);
 			}
 		}
+		if(js->protocol_version == JABBER_PROTO_0_9)
+			js->auth_type = JABBER_AUTH_IQ_AUTH;
 
 		if(js->state == JABBER_STREAM_INITIALIZING)
 			jabber_stream_set_state(js, JABBER_STREAM_AUTHENTICATING);