changeset 4380:fe465b7d9440

[gaim-migrate @ 4646] This fixes the receiving of some messages from AOL8. Namely, the first message they send to you, and any message they send you directly after receiving a message from you (I think). The problem is that AOL8 advertises an icon with a timestamp of 0, for some crazy reason. Thanks to some really really kick ass dude on AIM for helping me test this. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 21 Jan 2003 22:07:10 +0000
parents c0bb8c760416
children af485b4bb8c1
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Tue Jan 21 17:47:18 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Tue Jan 21 22:07:10 2003 +0000
@@ -1795,13 +1795,10 @@
 	if (args->icbmflags & AIM_IMFLAGS_AWAY)
 		flags |= IM_FLAG_AWAY;
 
-	if (args->icbmflags & AIM_IMFLAGS_HASICON) {
+	if ((args->icbmflags & AIM_IMFLAGS_HASICON) && (args->iconlen) && (args->iconsum) && (args->iconstamp)) {
 		struct icon_req *ir = NULL;
 		GSList *h = od->hasicons;
 
-		if (!args->iconlen || !args->iconsum || !args->iconstamp)
-		    return 1;
-		    
 		debug_printf("%s has an icon\n", userinfo->sn);
 		while (h) {
 			ir = h->data;