comparison libpurple/protocols/oscar/oscar.c @ 22866: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 0e3d09819fbf
children e8a66e79c49c
comparison
equal deleted inserted replaced
22865:b4b7ba4d1a66 22866:4f65a1983a0a
4544 4544
4545 if (!setstatus) 4545 if (!setstatus)
4546 { 4546 {
4547 /* Do nothing! */ 4547 /* Do nothing! */
4548 } 4548 }
4549 else if (primitive == PURPLE_STATUS_AVAILABLE) 4549 else if (primitive == PURPLE_STATUS_AVAILABLE || primitive == PURPLE_STATUS_INVISIBLE)
4550 { 4550 {
4551 const char *status_html, *itmsurl; 4551 const char *status_html, *itmsurl;
4552 char *status_text = NULL; 4552 char *status_text = NULL;
4553 4553
4554 status_html = purple_status_get_attr_string(status, "message"); 4554 status_html = purple_status_get_attr_string(status, "message");