diff libpurple/protocols/jabber/presence.c @ 26131:ff4212a5268f

propagate from branch 'im.pidgin.pidgin' (head 431618de0f30a6938f7e14d2d61ee5d7738acd59) to branch 'im.pidgin.pidgin.vv' (head 8df00cb1a28baa69d0a68e0e96af201ec7d87c09)
author Marcus Lundblad <ml@update.uu.se>
date Mon, 02 Mar 2009 18:47:27 +0000
parents 5f9a24d1c25e 68f4edb42f39
children 12089d993a0c 882748e27f9d 4f14455a86d2
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c	Mon Mar 02 16:34:05 2009 +0000
+++ b/libpurple/protocols/jabber/presence.c	Mon Mar 02 18:47:27 2009 +0000
@@ -264,6 +264,10 @@
 	xmlnode_set_namespace(c, "http://jabber.org/protocol/caps");
 	xmlnode_set_attrib(c, "node", CAPS0115_NODE);
 	xmlnode_set_attrib(c, "ver", VERSION);
+#ifdef USE_VV
+	/* Make sure this is 'voice-v1', or you won't be able to talk to Google Talk */
+	xmlnode_set_attrib(c, "ext", "voice-v1");
+#endif
 
 	if(js != NULL) {
 		/* add the extensions */