changeset 18813:1abc28b51b0c

Sean pointed out that now that oscar rate limits itself there is no need to have a delay between fetching icons. They ARE still fetched one at a time, though.
author Mark Doliner <mark@kingant.net>
date Mon, 06 Aug 2007 06:24:37 +0000
parents 43b914fef77a
children f4d67b36f0c1
files libpurple/protocols/oscar/oscar.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Mon Aug 06 04:52:24 2007 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Mon Aug 06 06:24:37 2007 +0000
@@ -1157,7 +1157,7 @@
 	od->iconconnecting = FALSE;
 
 	if (od->icontimer == 0)
-		od->icontimer = purple_timeout_add(100, purple_icon_timerfunc, gc);
+		od->icontimer = purple_timeout_add(1, purple_icon_timerfunc, gc);
 }
 
 static int
@@ -1879,7 +1879,7 @@
 			if (!cur) {
 				od->requesticon = g_slist_append(od->requesticon, g_strdup(purple_normalize(account, info->sn)));
 				if (od->icontimer == 0)
-					od->icontimer = purple_timeout_add(500, purple_icon_timerfunc, gc);
+					od->icontimer = purple_timeout_add(1, purple_icon_timerfunc, gc);
 			}
 		}
 		g_free(b16);
@@ -3247,7 +3247,7 @@
 	g_free(sn);
 
 	if (od->icontimer == 0)
-		od->icontimer = purple_timeout_add(500, purple_icon_timerfunc, gc);
+		od->icontimer = purple_timeout_add(1, purple_icon_timerfunc, gc);
 
 	return 1;
 }
@@ -3292,7 +3292,7 @@
 	}
 
 	if (od->icontimer == 0)
-		od->icontimer = purple_timeout_add(250, purple_icon_timerfunc, gc);
+		od->icontimer = purple_timeout_add(1, purple_icon_timerfunc, gc);
 
 	return 1;
 }
@@ -3345,7 +3345,7 @@
 		g_free(sn);
 	}
 
-	od->icontimer = purple_timeout_add(100, purple_icon_timerfunc, gc);
+	od->icontimer = purple_timeout_add(1, purple_icon_timerfunc, gc);
 
 	return FALSE;
 }