diff libpurple/protocols/jabber/iq.c @ 24058:305fac6af8f9

Updated to use latest spec. in XEP-0231 New namespace. Cache data globally in a running instance based on CID. Set the PNG compression level param when saving a custom smiley from GTKIMHTML.
author Marcus Lundblad <ml@update.uu.se>
date Fri, 05 Sep 2008 21:55:09 +0000
parents 4ac5db6e39f3
children 040c66dffbf0 4d752d07a126 53b073da65ee
line wrap: on
line diff
--- a/libpurple/protocols/jabber/iq.c	Thu Sep 04 22:18:58 2008 +0000
+++ b/libpurple/protocols/jabber/iq.c	Fri Sep 05 21:55:09 2008 +0000
@@ -356,8 +356,7 @@
 		return;
 	}
 
-	if (xmlnode_get_child_with_namespace(packet, "data",
-		    "urn:xmpp:tmp:data-element")) {
+	if (xmlnode_get_child_with_namespace(packet, "data", XEP_0231_NAMESPACE)) {
 		jabber_data_parse(js, packet);
 		return;
 	}