diff icon.c @ 320:f021bd3431a6

fixed breakage of twitter icon retrieval.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 19 Sep 2009 01:54:11 +0900
parents c5b2c6bc2815
children 6ebabb96485f
line wrap: on
line diff
--- a/icon.c	Wed Sep 02 02:48:55 2009 +0900
+++ b/icon.c	Sat Sep 19 01:54:11 2009 +0900
@@ -602,7 +602,7 @@
     /* Create the URL for an user's icon. */
     switch(service) {
     case twitter_service:
-        url = g_strdup_printf("http://twitter.com/%s", user_name);
+        url = g_strdup_printf("http://twitter.com/users/show/%s.xml", user_name);
         break;
     case wassr_service:
         url = g_strdup_printf("http://wassr.jp/user/%s", user_name);
@@ -638,7 +638,7 @@
                                               TRUE, got_page_cb, gotdata);
             twitter_debug("requested url = %s\n", url);
         }
-        else { /* probably it is unnecessary */
+        else { /* used by ffeed */
             data->fetch_data =
                 purple_util_fetch_url_request(url, TRUE, NULL, TRUE, NULL,
                                               FALSE, got_icon_cb, gotdata);