Mercurial > pidgin
comparison src/protocols/icq/gaim_icq.c @ 4349:0c68d402f59f
[gaim-migrate @ 4614]
XML Blist
Gaim stores all the buddy lists in one big happy file now. You can order
the buddies however you want, and they'll stay ordered that way.
We can also store some per-buddy information now, which will be cool.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 19 Jan 2003 22:16:52 +0000 |
parents | 9c7fcb211886 |
children | 3196d9044a45 |
comparison
equal
deleted
inserted
replaced
4348:922b66840a51 | 4349:0c68d402f59f |
---|---|
272 struct icq_auth *iqnew; | 272 struct icq_auth *iqnew; |
273 | 273 |
274 icq_SendAuthMsg(iq->link, iq->uin); | 274 icq_SendAuthMsg(iq->link, iq->uin); |
275 | 275 |
276 g_snprintf(uin, sizeof(uin), "%ld", iq->uin); | 276 g_snprintf(uin, sizeof(uin), "%ld", iq->uin); |
277 if (find_buddy(iq->gc, uin)) | 277 if (find_buddy(iq->gc->user, uin)) |
278 return; | 278 return; |
279 | 279 |
280 iqnew = g_memdup(iq, sizeof(struct icq_auth)); | 280 iqnew = g_memdup(iq, sizeof(struct icq_auth)); |
281 iqnew->nick = g_strdup(iq->nick); | 281 iqnew->nick = g_strdup(iq->nick); |
282 | 282 |
340 | 340 |
341 if (proxytype == PROXY_SOCKS5) | 341 if (proxytype == PROXY_SOCKS5) |
342 icq_SetProxy(link, proxyhost, proxyport, proxyuser[0], proxyuser, proxypass); | 342 icq_SetProxy(link, proxyhost, proxyport, proxyuser[0], proxyuser, proxypass); |
343 | 343 |
344 icq_ContactClear(id->link); | 344 icq_ContactClear(id->link); |
345 if (bud_list_cache_exists(gc)) | |
346 do_import(gc, NULL); | |
347 | 345 |
348 if (icq_Connect(link, "icq.mirabilis.com", 4000) < 1) { | 346 if (icq_Connect(link, "icq.mirabilis.com", 4000) < 1) { |
349 hide_login_progress(gc, "Unable to connect"); | 347 hide_login_progress(gc, "Unable to connect"); |
350 signoff(gc); | 348 signoff(gc); |
351 return; | 349 return; |