diff src/protocols/yahoo/yahoo_friend.c @ 9284:fe0291162312

[gaim-migrate @ 10087] Yahoo "picture" buddy icon support. It still kind of sucks, and you can't set your own yet. But expect it to improve. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Tue, 15 Jun 2004 01:17:16 +0000
parents 66ff39319900
children b4919e8c634c
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo_friend.c	Mon Jun 14 16:44:32 2004 +0000
+++ b/src/protocols/yahoo/yahoo_friend.c	Tue Jun 15 01:17:16 2004 +0000
@@ -112,6 +112,16 @@
 	return f->msg;
 }
 
+void yahoo_friend_set_buddy_icon_need_request(YahooFriend *f, gboolean needs)
+{
+	f->bicon_sent_request = !needs;
+}
+
+gboolean yahoo_friend_get_buddy_icon_need_request(YahooFriend *f)
+{
+	return !f->bicon_sent_request;
+}
+
 void yahoo_friend_free(gpointer p)
 {
 	YahooFriend *f = p;