comparison libpurple/protocols/jabber/ibb.c @ 29031:9ae3e70a327b

jabber: More namespaces! This is a good stopping point for now.
author Paul Aurich <paul@darkrain42.org>
date Fri, 27 Nov 2009 17:07:19 +0000
parents 7b4ade7c6d8a
children 8f442c566ff2
comparison
equal deleted inserted replaced
29030:8d8a1afc4268 29031:9ae3e70a327b
359 { 359 {
360 JabberIq *result = jabber_iq_new(js, JABBER_IQ_ERROR); 360 JabberIq *result = jabber_iq_new(js, JABBER_IQ_ERROR);
361 xmlnode *error = xmlnode_new("error"); 361 xmlnode *error = xmlnode_new("error");
362 xmlnode *item_not_found = xmlnode_new("item-not-found"); 362 xmlnode *item_not_found = xmlnode_new("item-not-found");
363 363
364 xmlnode_set_namespace(item_not_found, 364 xmlnode_set_namespace(item_not_found, NS_XMPP_STANZAS);
365 "urn:ietf:params:xml:ns:xmpp-stanzas");
366 xmlnode_set_attrib(error, "code", "440"); 365 xmlnode_set_attrib(error, "code", "440");
367 xmlnode_set_attrib(error, "type", "cancel"); 366 xmlnode_set_attrib(error, "type", "cancel");
368 jabber_iq_set_id(result, id); 367 jabber_iq_set_id(result, id);
369 xmlnode_set_attrib(result->node, "to", to); 368 xmlnode_set_attrib(result->node, "to", to);
370 xmlnode_insert_child(error, item_not_found); 369 xmlnode_insert_child(error, item_not_found);