| 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, "ver", VERSION); |
267 xmlnode_set_attrib(c, "ver", VERSION); |
| |
268 #ifdef USE_FARSIGHT |
| |
269 /* Make sure this is 'voice-v1', or you won't be able to talk to Google Talk */ |
| |
270 xmlnode_set_attrib(c, "ext", "voice-v1"); |
| |
271 #endif |
| 268 |
272 |
| 269 if(js != NULL) { |
273 if(js != NULL) { |
| 270 /* add the extensions */ |
274 /* add the extensions */ |
| 271 char extlist[1024]; |
275 char extlist[1024]; |
| 272 unsigned remaining = 1023; /* one less for the \0 */ |
276 unsigned remaining = 1023; /* one less for the \0 */ |