comparison libpurple/protocols/jabber/presence.c @ 26512:12089d993a0c

propagate from branch 'im.pidgin.pidgin' (head 1890ad1259c93f5ad18ceb3365717ebc43b30198) to branch 'im.pidgin.cpw.malu.xmpp.idle' (head 016b1a74fc89865e3347ee0b4e8e4357167c1585)
author Marcus Lundblad <ml@update.uu.se>
date Sat, 04 Apr 2009 10:33:33 +0000
parents 13541e130064 ff4212a5268f
children 7fba18b43da3
comparison
equal deleted inserted replaced
26344:6b0409164425 26512:12089d993a0c
275 /* JEP-0115 */ 275 /* JEP-0115 */
276 c = xmlnode_new_child(presence, "c"); 276 c = xmlnode_new_child(presence, "c");
277 xmlnode_set_namespace(c, "http://jabber.org/protocol/caps"); 277 xmlnode_set_namespace(c, "http://jabber.org/protocol/caps");
278 xmlnode_set_attrib(c, "node", CAPS0115_NODE); 278 xmlnode_set_attrib(c, "node", CAPS0115_NODE);
279 xmlnode_set_attrib(c, "ver", VERSION); 279 xmlnode_set_attrib(c, "ver", VERSION);
280 #ifdef USE_VV
281 /* Make sure this is 'voice-v1', or you won't be able to talk to Google Talk */
282 xmlnode_set_attrib(c, "ext", "voice-v1");
283 #endif
280 284
281 if(js != NULL) { 285 if(js != NULL) {
282 /* add the extensions */ 286 /* add the extensions */
283 char extlist[1024]; 287 char extlist[1024];
284 unsigned remaining = 1023; /* one less for the \0 */ 288 unsigned remaining = 1023; /* one less for the \0 */