Mercurial > pidgin
comparison src/protocols/jabber/auth.c @ 8016:7bae464195c4
[gaim-migrate @ 8696]
fix jabber registrations for XMPP servers
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 05 Jan 2004 22:37:07 +0000 |
parents | ad5c8f01882b |
children | 0694e3afa206 |
comparison
equal
deleted
inserted
replaced
8015:5f86d21b6232 | 8016:7bae464195c4 |
---|---|
52 gaim_connection_error(js->gc, _("Server requires SSL for login")); | 52 gaim_connection_error(js->gc, _("Server requires SSL for login")); |
53 return; | 53 return; |
54 } | 54 } |
55 } | 55 } |
56 | 56 |
57 if(js->registration) { | |
58 jabber_register_start(js); | |
59 return; | |
60 } | |
61 | |
57 mechs = xmlnode_get_child(packet, "mechanisms"); | 62 mechs = xmlnode_get_child(packet, "mechanisms"); |
58 | 63 |
59 if(!mechs) { | 64 if(!mechs) { |
60 gaim_connection_error(js->gc, _("Invalid response from server.")); | 65 gaim_connection_error(js->gc, _("Invalid response from server.")); |
61 return; | 66 return; |