| 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]; |