pidgin: d7e14452: I'm not really sure what this check does...

markdoliner at pidgin.im markdoliner at pidgin.im
Mon Jul 13 21:35:30 EDT 2009


-----------------------------------------------------------------
Revision: d7e144520671c33e5061a46179202923757a5f10
Ancestor: 84cac380afe8b2abc370153148fca8cac0d63178
Author: markdoliner at pidgin.im
Date: 2009-07-14T01:28:16
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d7e144520671c33e5061a46179202923757a5f10

Modified files:
        libpurple/buddyicon.c

ChangeLog: 

I'm not really sure what this check does, but there's a good chance
we want to do it for the new prpl-yahoojp too

-------------- next part --------------
============================================================
--- libpurple/buddyicon.c	9a9f3a332ca776b152c1cd7e74f45cb07bac2917
+++ libpurple/buddyicon.c	39aeb0d2aa3c945dcc003e043ff7eb4fe77173d4
@@ -1102,7 +1102,7 @@ migrate_buddy_icon(PurpleBlistNode *node
 				PurpleAccount *account = purple_buddy_get_account((PurpleBuddy *)node);
 				const char *prpl_id = purple_account_get_protocol_id(account);
 
-				if (purple_strequal(prpl_id, "prpl-yahoo"))
+				if (g_str_equal(prpl_id, "prpl-yahoo") || g_str_equal(prpl_id, "prpl-yahoojp"))
 				{
 					int checksum = purple_blist_node_get_int(node, "icon_checksum");
 					if (checksum != 0)


More information about the Commits mailing list