changeset 22839:4f65a1983a0a

When setting yourself to invisible on AIM, don't set an away message of "Invisible" because it's a little strange. The invisible status for AIM is supposed to be independent; so you are able to be available or away or whatver, and you cnan toggle your inivisible status all the live long day. But we don't have a UI for that, so setting yourself to invisible also sets you to available. It's pretty unimportant, though, since no one can actually see you
author Mark Doliner <mark@kingant.net>
date Wed, 07 May 2008 21:18:50 +0000
parents b4b7ba4d1a66
children 502bac8b2b4c
files libpurple/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Wed May 07 20:24:12 2008 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Wed May 07 21:18:50 2008 +0000
@@ -4546,7 +4546,7 @@
 	{
 		/* Do nothing! */
 	}
-	else if (primitive == PURPLE_STATUS_AVAILABLE)
+	else if (primitive == PURPLE_STATUS_AVAILABLE || primitive == PURPLE_STATUS_INVISIBLE)
 	{
 		const char *status_html, *itmsurl;
 		char *status_text = NULL;