# HG changeset patch # User Mark Doliner # Date 1229538991 0 # Node ID a8643ca8d2e0961a41e863e02d088c6d6df5ea4b # Parent 9216da5184a2950736b9d55e9f7c68c9332f26f8 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 diff -r 9216da5184a2 -r a8643ca8d2e0 libpurple/protocols/myspace/myspace.c --- 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