comparison 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
comparison
equal deleted inserted replaced
24057:8997acd7d143 24058:305fac6af8f9
354 if(xmlnode_get_child_with_namespace(packet, "ping", "urn:xmpp:ping")) { 354 if(xmlnode_get_child_with_namespace(packet, "ping", "urn:xmpp:ping")) {
355 jabber_ping_parse(js, packet); 355 jabber_ping_parse(js, packet);
356 return; 356 return;
357 } 357 }
358 358
359 if (xmlnode_get_child_with_namespace(packet, "data", 359 if (xmlnode_get_child_with_namespace(packet, "data", XEP_0231_NAMESPACE)) {
360 "urn:xmpp:tmp:data-element")) {
361 jabber_data_parse(js, packet); 360 jabber_data_parse(js, packet);
362 return; 361 return;
363 } 362 }
364 363
365 /* If we get here, send the default error reply mandated by XMPP-CORE */ 364 /* If we get here, send the default error reply mandated by XMPP-CORE */