Mercurial > pidgin
changeset 24514:e88f30b437ad
Add tests for some known contact annotations. These don't do anything yet, but
hopefully when people upload logs, I'll be able to figure out if there are any
we don't know about yet.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Fri, 28 Nov 2008 05:11:52 +0000 |
parents | 45070d57a934 |
children | f1936abe1616 |
files | libpurple/protocols/msn/contact.c |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/contact.c Fri Nov 28 04:59:05 2008 +0000 +++ b/libpurple/protocols/msn/contact.c Fri Nov 28 05:11:52 2008 +0000 @@ -603,6 +603,15 @@ name = xmlnode_get_data(xmlnode_get_child(annotation, "Name")); if (!strcmp(name, "AB.NickName")) alias = xmlnode_get_data(xmlnode_get_child(annotation, "Value")); + else if (!strcmp(name, "MSN.IM.HasSharedFolder")) + ; /* Do nothing yet... */ + else if (!strcmp(name, "AB.Spouse")) + ; /* Do nothing yet... */ + else if (!strcmp(name, "MSN.Mobile.ContactId")) + ; /* Do nothing yet... */ + else + purple_debug_info("msn", + "Unknown AB contact annotation: %s\n", name); g_free(name); }