diff libpurple/protocols/oscar/family_buddy.c @ 22133:0d7d0a60d42d

merge of '773c6dde93b5b2109d9c627dca717dd6c5468094' and 'd25af79abd2f50e0aba4985544f0ca976d0e7788'
author John Bailey <rekkanoryo@rekkanoryo.org>
date Thu, 17 Jan 2008 05:53:25 +0000
parents 22908b354baf
children 3225c99785b8
line wrap: on
line diff
--- a/libpurple/protocols/oscar/family_buddy.c	Thu Jan 17 05:53:12 2008 +0000
+++ b/libpurple/protocols/oscar/family_buddy.c	Thu Jan 17 05:53:25 2008 +0000
@@ -219,8 +219,9 @@
 	if ((userfunc = aim_callhandler(od, snac->family, snac->subtype)))
 		ret = userfunc(od, conn, frame, &userinfo);
 
-	if (snac->subtype == SNAC_SUBTYPE_BUDDY_ONCOMING)
-		aim_locate_requestuserinfo(od, userinfo.sn);
+	if (snac->subtype == SNAC_SUBTYPE_BUDDY_ONCOMING && userinfo.flags & AIM_FLAG_AWAY)
+		aim_locate_autofetch_away_message(od, userinfo.sn);
+
 	aim_info_free(&userinfo);
 
 	return ret;