Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 8295:bc850664b559 | 8296:dd6fe7d965aa |
|---|---|
| 47 if(js->stream_id) | 47 if(js->stream_id) |
| 48 g_free(js->stream_id); | 48 g_free(js->stream_id); |
| 49 js->stream_id = g_strdup(attrib_values[i]); | 49 js->stream_id = g_strdup(attrib_values[i]); |
| 50 } | 50 } |
| 51 } | 51 } |
| 52 if(js->protocol_version == JABBER_PROTO_0_9) | |
| 53 js->auth_type = JABBER_AUTH_IQ_AUTH; | |
| 52 | 54 |
| 53 if(js->state == JABBER_STREAM_INITIALIZING) | 55 if(js->state == JABBER_STREAM_INITIALIZING) |
| 54 jabber_stream_set_state(js, JABBER_STREAM_AUTHENTICATING); | 56 jabber_stream_set_state(js, JABBER_STREAM_AUTHENTICATING); |
| 55 } else { | 57 } else { |
| 56 | 58 |
