libpurple/protocols/jabber/presence.c

branch
vv
changeset 22069
841d24b3a2bc
parent 21801
6d92632a6424
parent 19882
d8c2a2fc1fbf
child 22647
bcb89c3964e9
equal deleted inserted replaced
22068:5157ec7a2b6f 22069:841d24b3a2bc
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 */

mercurial