pidgin: 7728b8a9: Show yourself as invisible in the buddyl...

markdoliner at pidgin.im markdoliner at pidgin.im
Fri May 9 02:00:53 EDT 2008


-----------------------------------------------------------------
Revision: 7728b8a9608a90aafa262e4af373af38d8fa7055
Ancestor: 069da78bf18e99522021e8885b2c352d8b1ca183
Author: markdoliner at pidgin.im
Date: 2008-05-09T05:58:54
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/7728b8a9608a90aafa262e4af373af38d8fa7055

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

ChangeLog: 

Show yourself as invisible in the buddylist when you're invisible

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	fa99e73924ae9a061684d2eed7ba2eab172562d3
+++ libpurple/protocols/oscar/oscar.c	44e5fcf1b3c71e2f8957fed1418634484231c6b6
@@ -1822,7 +1822,9 @@ static int purple_parse_oncoming(OscarDa
 		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;


More information about the Commits mailing list