diff src/protocols/yahoo/yahoo.c @ 9310:085190b9dd64

[gaim-migrate @ 10118] This is supposed to make us alert our buddies when we change our buddy icon, or turn it off. Except it crashes when we turn it off. But I think that's either Sean's fault or else Chip's fault. Also its supposed to make us announce our buddy icon when we log on if we have an old one set. But I don't think it does. Or was that the last commit that was supposed to do taht? either way it doesn't work for some reason, I need more packet dumps. It does succeed in announing our buddy icon to everyone when we set one. Well except people not on our list. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Sat, 19 Jun 2004 07:11:53 +0000
parents b3bda982996b
children 01c50436203e
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Sat Jun 19 06:47:34 2004 +0000
+++ b/src/protocols/yahoo/yahoo.c	Sat Jun 19 07:11:53 2004 +0000
@@ -453,7 +453,7 @@
 			b = gaim_find_buddy(gc->account, name);
 			yahoo_friend_set_buddy_icon_need_request(f, FALSE);
 			if (cksum != gaim_blist_node_get_int((GaimBlistNode*)b, YAHOO_ICON_CHECKSUM_KEY))
-				yahoo_send_buddy_icon_request(gc, name);
+				yahoo_send_picture_request(gc, name);
 
 			break;
 		}
@@ -806,7 +806,7 @@
 
 		if ((f = yahoo_friend_find(gc, im->from)) && im->buddy_icon == 2) {
 			if (yahoo_friend_get_buddy_icon_need_request(f)) {
-				yahoo_send_buddy_icon_request(gc, im->from);
+				yahoo_send_picture_request(gc, im->from);
 				yahoo_friend_set_buddy_icon_need_request(f, FALSE);
 			}
 		}