soc.2009.privacy_rewrite: 5d9894d9: Handle visible/invisible lists in Yahoo!..
sulabh at soc.pidgin.im
sulabh at soc.pidgin.im
Thu Jul 23 10:40:42 EDT 2009
-----------------------------------------------------------------
Revision: 5d9894d9b4a0dafa5e33ca5d40e4fe4c3cb20bdd
Ancestor: 0c94a9d9bfbd40f66730d454316439bd63e0c755
Author: sulabh at soc.pidgin.im
Date: 2009-07-23T13:40:15
Branch: im.pidgin.soc.2009.privacy_rewrite
URL: http://d.pidgin.im/viewmtn/revision/info/5d9894d9b4a0dafa5e33ca5d40e4fe4c3cb20bdd
Modified files:
libpurple/protocols/yahoo/libymsg.c
ChangeLog:
Handle visible/invisible lists in Yahoo! prpl
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/libymsg.c b6d144f84bb2f6fde934b087c0acb3342e056150
+++ libpurple/protocols/yahoo/libymsg.c d6f5013b1021c351bf4fc61ab9c238ce15129760
@@ -4777,8 +4777,12 @@ void yahoo_privacy_list_add(PurpleConnec
yahoo_add_deny(gc, who);
break;
case PURPLE_PRIVACY_VISIBLE_LIST:
+ /* Privacy laters: check */
+ yahoo_friend_update_presence(gc, who, YAHOO_PRESENCE_ONLINE);
+ break;
case PURPLE_PRIVACY_INVISIBLE_LIST:
- /* Privacy laters */
+ /* Privacy laters: check */
+ yahoo_friend_update_presence(gc, who, YAHOO_PRESENCE_PERM_OFFLINE);
break;
}
return;
@@ -4805,8 +4809,12 @@ void yahoo_privacy_list_remove(PurpleCon
yahoo_rem_deny(gc, who);
break;
case PURPLE_PRIVACY_VISIBLE_LIST:
+ /* Privacy laters */
+ yahoo_friend_update_presence(gc, who, YAHOO_PRESENCE_PERM_OFFLINE);
+ break;
case PURPLE_PRIVACY_INVISIBLE_LIST:
/* Privacy laters */
+ yahoo_friend_update_presence(gc, who, YAHOO_PRESENCE_ONLINE);
break;
}
return;
More information about the Commits
mailing list