diff libpurple/protocols/msn/contact.c @ 32487:ab9025b46134

Switch to ABFindContactsPaged instead of ABFindAll.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 03 Feb 2012 04:57:18 +0000
parents 10e5000326a5
children 760fd1f86a54
line wrap: on
line diff
--- a/libpurple/protocols/msn/contact.c	Fri Feb 03 01:29:43 2012 +0000
+++ b/libpurple/protocols/msn/contact.c	Fri Feb 03 04:57:18 2012 +0000
@@ -897,7 +897,7 @@
 		return FALSE;
 	}
 
-	result = xmlnode_get_child(node, "Body/ABFindAllResponse/ABFindAllResult");
+	result = xmlnode_get_child(node, "Body/ABFindContactsPagedResponse/ABFindContactsPagedResult");
 	if (result == NULL) {
 		purple_debug_misc("msn", "Received no address book update\n");
 		return TRUE;
@@ -906,7 +906,7 @@
 	/* I don't see this "groups" tag documented on msnpiki, need to find out
 	   if they are really there, and update msnpiki */
 	/*Process Group List*/
-	groups = xmlnode_get_child(result, "groups");
+	groups = xmlnode_get_child(result, "Groups");
 	if (groups != NULL) {
 		msn_parse_addressbook_groups(session, groups);
 	}
@@ -931,12 +931,12 @@
 
 	/*Process contact List*/
 	purple_debug_info("msn", "Process contact list...\n");
-	contacts = xmlnode_get_child(result, "contacts");
+	contacts = xmlnode_get_child(result, "Contacts");
 	if (contacts != NULL) {
 		msn_parse_addressbook_contacts(session, contacts);
 	}
 
-	abNode = xmlnode_get_child(result, "ab");
+	abNode = xmlnode_get_child(result, "Ab");
 	if (abNode != NULL) {
 		xmlnode *node2;
 		char *tmp = NULL;