libpurple/protocols/jabber/presence.c

branch
soc.2008.xmpp
changeset 23587
1691c5361029
parent 23586
e495a4623f76
child 23591
ba1e3ed78d40
equal deleted inserted replaced
23586:e495a4623f76 23587:1691c5361029
263 /* JEP-0115 */ 263 /* JEP-0115 */
264 c = xmlnode_new_child(presence, "c"); 264 c = xmlnode_new_child(presence, "c");
265 xmlnode_set_namespace(c, "http://jabber.org/protocol/caps"); 265 xmlnode_set_namespace(c, "http://jabber.org/protocol/caps");
266 xmlnode_set_attrib(c, "node", CAPS0115_NODE); 266 xmlnode_set_attrib(c, "node", CAPS0115_NODE);
267 xmlnode_set_attrib(c, "hash", "sha-1"); 267 xmlnode_set_attrib(c, "hash", "sha-1");
268 xmlnode_set_attrib(c, "ver", jabber_caps_get_hash()); 268 xmlnode_set_attrib(c, "ver", jabber_caps_get_own_hash());
269 269
270 #if 0 270 #if 0
271 if(js != NULL) { 271 if(js != NULL) {
272 /* add the extensions */ 272 /* add the extensions */
273 char extlist[1024]; 273 char extlist[1024];

mercurial