diff libpurple/protocols/yahoo/yahoo.h @ 22238:4cc1dfbc499b

Get rid of yahoo_privacy_check and use purple_privacy_check directly. I think the former function may have done stuff in days of yore, but now it's purpose is only to call purple_privacy_check then print a debug message with the result. The debug message doesn't seem overly useful to me... does anyone think it's important? If so, why? And if we really want that debug message, could we just add it to purple_privacy_check()?
author Mark Doliner <mark@kingant.net>
date Thu, 31 Jan 2008 22:58:11 +0000
parents 840e7e1b6dac
children cc5b2a145652
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.h	Thu Jan 31 22:28:56 2008 +0000
+++ b/libpurple/protocols/yahoo/yahoo.h	Thu Jan 31 22:58:11 2008 +0000
@@ -232,15 +232,6 @@
 */
 gchar* yahoo_get_cookies(PurpleConnection *gc);
 
-/**
- * Check to see whether the sender is permitted to send
- *
- * @param gc The gc handle.
- * @param who The sender of the packet to check
-*/
-gboolean yahoo_privacy_check
-	(PurpleConnection *gc, const char *who);
-
 gboolean yahoo_send_attention(PurpleConnection *gc, const char *username, guint type);
 GList *yahoo_attention_types(PurpleAccount *account);