# HG changeset patch # User Mark Doliner # Date 1210312734 0 # Node ID e8a66e79c49c47835f1fbcfbd7d443abcb629106 # Parent 713cd3a2d1cdf2a55eab110c867c729b9a7503fd Show yourself as invisible in the buddylist when you're invisible diff -r 713cd3a2d1cd -r e8a66e79c49c libpurple/protocols/oscar/oscar.c --- a/libpurple/protocols/oscar/oscar.c Thu May 08 18:24:01 2008 +0000 +++ b/libpurple/protocols/oscar/oscar.c Fri May 09 05:58:54 2008 +0000 @@ -1822,7 +1822,9 @@ else status_id = OSCAR_STATUS_ID_AVAILABLE; } else { - if (buddy_is_away) + if (type & AIM_ICQ_STATE_INVISIBLE) + status_id = OSCAR_STATUS_ID_INVISIBLE; + else if (buddy_is_away) status_id = OSCAR_STATUS_ID_AWAY; else status_id = OSCAR_STATUS_ID_AVAILABLE;