changeset 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 2a3217f76615
files libpurple/protocols/myspace/myspace.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c	Tue Dec 04 05:43:15 2007 +0000
+++ b/libpurple/protocols/myspace/myspace.c	Tue Dec 04 06:12:59 2007 +0000
@@ -1954,8 +1954,8 @@
 			break;
 
 		case MSIM_STATUS_CODE_IDLE:
-			/* will be handled below */
-			purple_status_code = -1;
+			/* Treat idle as an available status. */
+			purple_status_code = PURPLE_STATUS_AVAILABLE;
 			break;
 
 		default: