Mercurial > pidgin
diff src/protocols/msn/notification.c @ 10044:86a6d78b070b
[gaim-migrate @ 11003]
this is the msn buddy list sync code from the 1.0.0 tree, also from shx. in
this patch, i changed one instance of "b" to "buddy" to make it compile.
this introduces code to ask the user about discrepances between the local
and server lists on msn.
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Sun, 19 Sep 2004 03:02:28 +0000 |
| parents | 700f8fb9e581 |
| children | 5d2a08d82e7a |
line wrap: on
line diff
--- a/src/protocols/msn/notification.c Sun Sep 19 02:53:00 2004 +0000 +++ b/src/protocols/msn/notification.c Sun Sep 19 03:02:28 2004 +0000 @@ -317,8 +317,6 @@ if (user == NULL) { - gaim_debug_info("msn", "Creating new user. '%s' was not found.\n", - passport); user = msn_user_new(session->userlist, passport, friendly); msn_userlist_add_user(session->userlist, user); } @@ -410,7 +408,6 @@ g_strfreev(params); } - static void adg_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd) { @@ -711,19 +708,14 @@ syn_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd) { MsnSession *session; - GaimConnection *gc; int total_users; session = cmdproc->session; - gc = gaim_account_get_connection(session->account); total_users = atoi(cmd->params[2]); if (total_users == 0) { - gaim_connection_set_state(gc, GAIM_CONNECTED); - session->logged_in = TRUE; - - serv_finish_login(gc); + msn_session_finish_login(session); } else {
