Wed, 17 Dec 2008 18:36:31 +0000
Set buddies idle time to 0 when their idle. 0 is a flag to the UI that
we don't know how long they've been idle. Previously myspace buddies
always started at "idle: 0" when you log in and the time slowly increases
| libpurple/protocols/myspace/myspace.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/myspace/myspace.c Wed Dec 17 18:21:47 2008 +0000 +++ b/libpurple/protocols/myspace/myspace.c Wed Dec 17 18:36:31 2008 +0000 @@ -1428,10 +1428,10 @@ if (status_code == MSIM_STATUS_CODE_IDLE) { purple_debug_info("msim", "msim_status: got idle: %s\n", username); - purple_prpl_got_user_idle(session->account, username, TRUE, time(NULL)); + purple_prpl_got_user_idle(session->account, username, TRUE, 0); } else { /* All other statuses indicate going back to non-idle. */ - purple_prpl_got_user_idle(session->account, username, FALSE, time(NULL)); + purple_prpl_got_user_idle(session->account, username, FALSE, 0); } #ifdef MSIM_SEND_CLIENT_VERSION