changeset 206:99c4946e8449

now pidgin-twitter shows the default icon for identi.ca when a user has not uploaded the custom icon.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 22 Aug 2008 16:47:37 +0900
parents bc1448e72b1b
children 0eac0abcc0aa
files pidgin-twitter.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin-twitter.h	Thu Aug 14 16:20:22 2008 +0900
+++ b/pidgin-twitter.h	Fri Aug 22 16:47:37 2008 +0900
@@ -148,7 +148,7 @@
 #define P_CHANNEL           "^(.*?<a .+?>[A-Za-z0-9_]+</a>: \\r?\\n?#)([A-Za-z0-9_]+) "
 #define P_IMAGE_TWITTER     "<a href=\"/account/profile_image/.+?\"><img .+? id=\"profile-image\".*src=\"(http://.+)\" .+?/>"
 #define P_IMAGE_WASSR       "<div class=\"image\"><a href=\".+\"><img src=\"(.+)\" width=\".+?\" /></a></div>"
-#define P_IMAGE_IDENTICA    "<img src=\"(http://avatar.identi.ca/[A-Za-z0-9-.]+)\" class=\"avatar profile\" width=\"96\" height=\"96\" alt=\"[A-Za-z0-0_]+\"/>"
+#define P_IMAGE_IDENTICA    "<img src=\"(http://.+.identi.ca/.+)\" class=\"avatar profile\" width=\"96\" height=\"96\" alt=\"[A-Za-z0-0_]+\"/>"
 #define P_TAG_IDENTICA      "#([A-Za-z0-9]+)"
 #define P_SIZE_128_WASSR    "\\.128\\."