im.pidgin.pidgin: ef89674f22de741432d05bc542d20d3c20e5e69e
markdoliner at pidgin.im
markdoliner at pidgin.im
Thu Jan 31 21:10:43 EST 2008
-----------------------------------------------------------------
Revision: ef89674f22de741432d05bc542d20d3c20e5e69e
Ancestor: c256220db62231c44a0b4f8369c17f0e6da71121
Author: markdoliner at pidgin.im
Date: 2008-02-01T02:05:32
Branch: im.pidgin.pidgin
Modified files:
libpurple/protocols/yahoo/yahoo.c
ChangeLog:
Yahoo! has no permit list, so get rid of the add_permit and rem_permit prpl
callbacks. Right now they're basically a no-op. More specifically,
purple_privacy_permit_add calls serv_add_permit which calls
yahoo_add_permit which calls purple_privacy_permit_add (again) which
exits because the buddy is already in the permit list.
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c 82c9ea2d00c06bc1b33c790de2f7c7e85419886e
+++ libpurple/protocols/yahoo/yahoo.c e7ac4ac14228789b9bb328a785160ebf3512cf09
@@ -61,22 +61,6 @@ static void yahoo_set_status(PurpleAccou
#endif
static void yahoo_set_status(PurpleAccount *account, PurpleStatus *status);
-static void
-yahoo_add_permit(PurpleConnection *gc, const char *who)
-{
- purple_debug_info("yahoo",
- "Permitting ID %s local contact rights for account %s\n", who, gc->account);
- purple_privacy_permit_add(gc->account,who,TRUE);
-}
-
-static void
-yahoo_rem_permit(PurpleConnection *gc, const char *who)
-{
- purple_debug_info("yahoo",
- "Denying ID %s local contact rights for account %s\n", who, gc->account);
- purple_privacy_permit_remove(gc->account,who,TRUE);
-}
-
static void yahoo_update_status(PurpleConnection *gc, const char *name, YahooFriend *f)
{
char *status = NULL;
@@ -4313,9 +4297,9 @@ static PurplePluginProtocolInfo prpl_inf
NULL, /* add_buddies */
yahoo_remove_buddy,
NULL, /*remove_buddies */
- yahoo_add_permit,
+ NULL, /* add_permit */
yahoo_add_deny,
- yahoo_rem_permit,
+ NULL, /* rem_permit */
yahoo_rem_deny,
yahoo_set_permit_deny,
yahoo_c_join,
More information about the Commits
mailing list