pidgin: 74220fe9: When setting yourself to invisible on AI...

markdoliner at pidgin.im markdoliner at pidgin.im
Wed May 7 17:21:20 EDT 2008


-----------------------------------------------------------------
Revision: 74220fe9aae3c9f6b63fb30e84eb0f965d896833
Ancestor: 9d485069f1ac3689890b946c003dba59bfe5748b
Author: markdoliner at pidgin.im
Date: 2008-05-07T21:18:50
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/74220fe9aae3c9f6b63fb30e84eb0f965d896833

Modified files:
        libpurple/protocols/oscar/oscar.c

ChangeLog: 

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

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	fc455c057ed784ce86fcadcf3d26679ae98673d1
+++ libpurple/protocols/oscar/oscar.c	fa99e73924ae9a061684d2eed7ba2eab172562d3
@@ -4546,7 +4546,7 @@ oscar_set_info_and_status(PurpleAccount 
 	{
 		/* 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;


More information about the Commits mailing list