Mercurial > pidgin
diff src/connection.c @ 10400:6a043ae92db6
[gaim-migrate @ 11631]
I'm about to go home for the holidays, so I figured I'd commit this before
I left so someone else could pick up on it while I'm gone.
committer: Tailor Script <tailor@pidgin.im>
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Sun, 19 Dec 2004 20:32:32 +0000 |
| parents | b234ad7e0dfe |
| children | 6feef0a9098a |
line wrap: on
line diff
--- a/src/connection.c Sun Dec 19 17:35:59 2004 +0000 +++ b/src/connection.c Sun Dec 19 20:32:32 2004 +0000 @@ -89,7 +89,8 @@ { gaim_account_set_password(account, (*entry != '\0') ? entry : NULL); - gaim_account_connect(account); + /* XXX - connect with correct status */ + gaim_account_connect(account, gaim_account_get_status(account, "online")); } void @@ -143,7 +144,7 @@ void -gaim_connection_connect(GaimConnection *gc) +gaim_connection_connect(GaimConnection *gc, GaimStatus *status) { GaimAccount *account; GaimConnectionUiOps *ops; @@ -201,7 +202,7 @@ gaim_debug_info("connection", "Calling serv_login\n"); - serv_login(account); + serv_login(account, status); } void @@ -321,10 +322,6 @@ /* Set the time the account came online */ time(&gc->login_time); - /* XXX - STATUS - Need to handle away at login here. */ - if (gaim_presence_is_online(presence) == FALSE) - gaim_presence_set_status_active(presence, "online", TRUE); - if (gaim_prefs_get_bool("/core/logging/log_system") && gaim_prefs_get_bool("/core/logging/log_own_states")){ GaimLog *log = gaim_account_get_log(account);
