comparison libpurple/protocols/jabber/disco.c @ 23759: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 c5c265dff90c
children 60f5abc6cf0c
comparison
equal deleted inserted replaced
23758:1e5d5d55a231 23759:315151da0dc6
96 SUPPORT_FEATURE("http://jabber.org/protocol/muc#user") 96 SUPPORT_FEATURE("http://jabber.org/protocol/muc#user")
97 SUPPORT_FEATURE("http://jabber.org/protocol/si") 97 SUPPORT_FEATURE("http://jabber.org/protocol/si")
98 SUPPORT_FEATURE("http://jabber.org/protocol/si/profile/file-transfer") 98 SUPPORT_FEATURE("http://jabber.org/protocol/si/profile/file-transfer")
99 SUPPORT_FEATURE("http://jabber.org/protocol/xhtml-im") 99 SUPPORT_FEATURE("http://jabber.org/protocol/xhtml-im")
100 SUPPORT_FEATURE("urn:xmpp:ping") 100 SUPPORT_FEATURE("urn:xmpp:ping")
101 } else if (node && !strcmp(node, CAPS0115_NODE "#voice-v1")) {
102 SUPPORT_FEATURE("http://www.google.com/session");
103 SUPPORT_FEATURE("http://www.google.com/transport/p2p");
104 SUPPORT_FEATURE("http://www.google.com/transport/raw-udp");
105 SUPPORT_FEATURE("http://www.google.com/session/phone");
106 SUPPORT_FEATURE("http://www.xmpp.org/extensions/xep-0166.html");
107 SUPPORT_FEATURE("http://www.xmpp.org/extensions/xep-0180.html");
108 SUPPORT_FEATURE("http://www.xmpp.org/extensions/xep-0167.html");
109 SUPPORT_FEATURE("http://www.xmpp.org/extensions/xep-0177.html");
101 } else { 110 } else {
102 xmlnode *error, *inf; 111 xmlnode *error, *inf;
103 112
104 /* XXX: gross hack, implement jabber_iq_set_type or something */ 113 /* XXX: gross hack, implement jabber_iq_set_type or something */
105 xmlnode_set_attrib(iq->node, "type", "error"); 114 xmlnode_set_attrib(iq->node, "type", "error");