diff libpurple/protocols/jabber/presence.c @ 25545:315151da0dc6

Basic Google Talk voice call support. No UI; receiving a call auto-accepts it.
author Sean Egan <seanegan@gmail.com>
date Wed, 05 Sep 2007 00:47:58 +0000
parents 1ca6c4b234ab
children 60f5abc6cf0c
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c	Tue Aug 28 01:02:01 2007 +0000
+++ b/libpurple/protocols/jabber/presence.c	Wed Sep 05 00:47:58 2007 +0000
@@ -183,6 +183,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_FARSIGHT
+	/* 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
 
 	return presence;
 }