Mercurial > pidgin
changeset 10988:27f0322f06f7
[gaim-migrate @ 12825]
make registrations work on jabber.org, and other XMPP servers
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 09 Jun 2005 04:12:19 +0000 |
parents | a8a7730db73c |
children | b4919e8c634c |
files | src/protocols/jabber/jabber.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c Thu Jun 09 04:03:20 2005 +0000 +++ b/src/protocols/jabber/jabber.c Thu Jun 09 04:12:19 2005 +0000 @@ -128,7 +128,9 @@ return; } - if(xmlnode_get_child(packet, "mechanisms")) { + if(js->registration) { + jabber_register_start(js); + } else if(xmlnode_get_child(packet, "mechanisms")) { jabber_auth_start(js, packet); } else if(xmlnode_get_child(packet, "bind")) { xmlnode *bind, *resource;