From: Christian H. <ch...@us...> - 2003-10-17 15:04:29
|
Update of /cvsroot/gaim/gaim/src/protocols/msn In directory sc8-pr-cvs1:/tmp/cvs-serv23371 Modified Files: notification.c Log Message: Let new MSN users with empty buddy lists sign on. This fixes a lot of bug numbers. Index: notification.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/msn/notification.c,v retrieving revision 1.72 retrieving revision 1.73 diff -u -d -p -r1.72 -r1.73 --- notification.c 17 Oct 2003 14:57:59 -0000 1.72 +++ notification.c 17 Oct 2003 15:03:27 -0000 1.73 @@ -1714,11 +1714,21 @@ syn_cmd(MsnServConn *servconn, const cha size_t param_count) { MsnSession *session = servconn->session; + GaimConnection *gc = gaim_account_get_connection(session->account); if (session->protocol_ver >= 8) { session->total_users = atoi(params[2]); session->total_groups = atoi(params[3]); + + if (session->total_users == 0) + { + gaim_connection_set_state(gc, GAIM_CONNECTED); + serv_finish_login(gc); + + session->syncing_lists = FALSE; + session->lists_synced = TRUE; + } } return TRUE; |