Mercurial > pidgin
comparison src/protocols/msn/notification.c @ 7590:3a48ade4f510
[gaim-migrate @ 8208]
The MSNSLP stuff pretty much works. I have it disabled in this commit just
in case, but I should have the rest done tonight. Also, client IDs are now
sent (which was part of the problem), as are the MSNObjects (the other half
of the problem).
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 22 Nov 2003 00:47:24 +0000 |
parents | b43cc6a7936e |
children | 04f9c750657f |
comparison
equal
deleted
inserted
replaced
7589:59c1cee97cbb | 7590:3a48ade4f510 |
---|---|
1276 | 1276 |
1277 session->num_users++; | 1277 session->num_users++; |
1278 | 1278 |
1279 if (session->num_users == session->total_users) | 1279 if (session->num_users == session->total_users) |
1280 { | 1280 { |
1281 if (!msn_servconn_send_command(servconn, "CHG", "NLN")) | 1281 msn_user_set_buddy_icon(session->user, |
1282 { | 1282 gaim_account_get_buddy_icon(session->account)); |
1283 gaim_connection_error(gc, _("Unable to write")); | 1283 |
1284 | 1284 if (!msn_session_change_status(session, "NLN")) |
1285 return FALSE; | 1285 return FALSE; |
1286 } | |
1287 | 1286 |
1288 gaim_connection_set_state(gc, GAIM_CONNECTED); | 1287 gaim_connection_set_state(gc, GAIM_CONNECTED); |
1289 serv_finish_login(gc); | 1288 serv_finish_login(gc); |
1290 | 1289 |
1291 if (session->lists.allow == NULL) | 1290 if (session->lists.allow == NULL) |
1444 return TRUE; /* This isn't the last one in the RL. */ | 1443 return TRUE; /* This isn't the last one in the RL. */ |
1445 | 1444 |
1446 /* Now we're at the last one, so we can do final work. */ | 1445 /* Now we're at the last one, so we can do final work. */ |
1447 if (!session->lists_synced) | 1446 if (!session->lists_synced) |
1448 { | 1447 { |
1449 if (!msn_servconn_send_command(servconn, "CHG", "NLN")) | 1448 if (!msn_session_change_status(session, "NLN")) |
1450 { | |
1451 gaim_connection_error(gc, _("Unable to write")); | |
1452 | |
1453 return FALSE; | 1449 return FALSE; |
1454 } | |
1455 | 1450 |
1456 gaim_connection_set_state(gc, GAIM_CONNECTED); | 1451 gaim_connection_set_state(gc, GAIM_CONNECTED); |
1457 serv_finish_login(gc); | 1452 serv_finish_login(gc); |
1458 } | 1453 } |
1459 | 1454 |