comparison libpurple/protocols/myspace/myspace.c @ 21759:41489d141def

This makes myspace treat idle as an available status, which avoids idle buddies being stuck as offline until they change to any other status. Fixes #3259
author Kevin Stange <kevin@simguy.net>
date Tue, 04 Dec 2007 06:12:59 +0000
parents 430827922828
children d357ce994bd6 60f5abc6cf0c
comparison
equal deleted inserted replaced
21758:430827922828 21759:41489d141def
1952 case MSIM_STATUS_CODE_AWAY: 1952 case MSIM_STATUS_CODE_AWAY:
1953 purple_status_code = PURPLE_STATUS_AWAY; 1953 purple_status_code = PURPLE_STATUS_AWAY;
1954 break; 1954 break;
1955 1955
1956 case MSIM_STATUS_CODE_IDLE: 1956 case MSIM_STATUS_CODE_IDLE:
1957 /* will be handled below */ 1957 /* Treat idle as an available status. */
1958 purple_status_code = -1; 1958 purple_status_code = PURPLE_STATUS_AVAILABLE;
1959 break; 1959 break;
1960 1960
1961 default: 1961 default:
1962 purple_debug_info("msim", "msim_status for %s, unknown status code %d, treating as available\n", 1962 purple_debug_info("msim", "msim_status for %s, unknown status code %d, treating as available\n",
1963 username, status_code); 1963 username, status_code);