diff libpurple/protocols/oscar/family_buddy.c @ 29418:365b90fa23cf

This patch comes from the combined work of contributors minstrel, NightFox, bob007, salieff, and nops (these are their trac usernames). I have made some minor tweaks to the patch, but these shouldn't be a problem. This patch needs some TLC before we can merge it anywhere else; it adds API so it must hit im.pidgin.pidgin.next.minor before hitting im.pidgin.pidgin. Refs #4508.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Thu, 13 Nov 2008 17:04:53 +0000
parents 9c0ee2491ed1
children 11cb7f2bb6e8
line wrap: on
line diff
--- a/libpurple/protocols/oscar/family_buddy.c	Thu Nov 13 09:00:45 2008 +0000
+++ b/libpurple/protocols/oscar/family_buddy.c	Thu Nov 13 17:04:53 2008 +0000
@@ -224,6 +224,10 @@
 	if (snac->subtype == SNAC_SUBTYPE_BUDDY_ONCOMING && userinfo.flags & AIM_FLAG_AWAY)
 		aim_locate_autofetch_away_message(od, userinfo.sn);
 
+	if (snac->subtype == SNAC_SUBTYPE_BUDDY_ONCOMING &&
+			userinfo.capabilities & OSCAR_CAPABILITY_XTRAZ && userinfo.customicon > 0)
+		icq_im_xstatus_request(od, userinfo.sn);
+
 	aim_info_free(&userinfo);
 
 	return ret;