comparison libpurple/protocols/jabber/iq.c @ 17935:e0e4fc6e2cc8

step 1, don't call finch (and adium, maybe?) Pidgin
author Nathan Walp <nwalp@pidgin.im>
date Thu, 14 Jun 2007 02:57:07 +0000
parents 32c366eeeb99
children 3d7129ac1de9
comparison
equal deleted inserted replaced
17620:c1c533448097 17935:e0e4fc6e2cc8
230 xmlnode_set_attrib(iq->node, "to", from); 230 xmlnode_set_attrib(iq->node, "to", from);
231 jabber_iq_set_id(iq, id); 231 jabber_iq_set_id(iq, id);
232 232
233 query = xmlnode_get_child(iq->node, "query"); 233 query = xmlnode_get_child(iq->node, "query");
234 234
235 xmlnode_insert_data(xmlnode_new_child(query, "name"), PACKAGE, -1); 235 /* TODO: ask the core for the version of libpurple and the name and version of the UI */
236 xmlnode_insert_data(xmlnode_new_child(query, "name"), "libpurple", -1);
236 xmlnode_insert_data(xmlnode_new_child(query, "version"), VERSION, -1); 237 xmlnode_insert_data(xmlnode_new_child(query, "version"), VERSION, -1);
237 if(os) { 238 if(os) {
238 xmlnode_insert_data(xmlnode_new_child(query, "os"), os, -1); 239 xmlnode_insert_data(xmlnode_new_child(query, "os"), os, -1);
239 g_free(os); 240 g_free(os);
240 } 241 }