--- a/libpurple/protocols/jabber/message.c Mon Aug 24 19:23:56 2009 +0000 +++ b/libpurple/protocols/jabber/message.c Tue Sep 01 19:51:07 2009 +0000 @@ -503,7 +503,7 @@ xmlnode *item_not_found = xmlnode_get_child(packet, "item-not-found"); /* did we get a data element as result? */ - if (data_element) { + if (data_element && type == JABBER_IQ_RESULT) { JabberData *data = jabber_data_create_from_xml(data_element); if (data) {