Mercurial > pidgin
diff libpurple/protocols/jabber/data.c @ 28645:7b4ade7c6d8a
jabber: Start putting all the namespaces in one location with consistent naming.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Thu, 26 Nov 2009 22:35:07 +0000 |
parents | 8aa7df246e13 |
children | f1437342cc0e |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/data.c Thu Nov 26 19:47:39 2009 +0000 +++ b/libpurple/protocols/jabber/data.c Thu Nov 26 22:35:07 2009 +0000 @@ -140,7 +140,7 @@ xmlnode *tag = xmlnode_new("data"); char *base64data = purple_base64_encode(data->data, data->size); - xmlnode_set_namespace(tag, XEP_0231_NAMESPACE); + xmlnode_set_namespace(tag, NS_BOB); xmlnode_set_attrib(tag, "cid", data->cid); xmlnode_set_attrib(tag, "type", data->type); @@ -169,7 +169,7 @@ { xmlnode *tag = xmlnode_new("data"); - xmlnode_set_namespace(tag, XEP_0231_NAMESPACE); + xmlnode_set_namespace(tag, NS_BOB); xmlnode_set_attrib(tag, "cid", cid); return tag; @@ -254,7 +254,7 @@ remote_data_by_cid = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, jabber_data_delete); - jabber_iq_register_handler("data", XEP_0231_NAMESPACE, jabber_data_parse); + jabber_iq_register_handler("data", NS_BOB, jabber_data_parse); } void