diff libpurple/protocols/jabber/disco.c @ 25664:d0ac3c438b71

Check remote JID's capabilities for audio and video XEP support.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Sat, 31 May 2008 20:15:34 +0000
parents 92e71f6e10d4
children 48fe9a9e20e2
line wrap: on
line diff
--- a/libpurple/protocols/jabber/disco.c	Sat May 31 06:45:42 2008 +0000
+++ b/libpurple/protocols/jabber/disco.c	Sat May 31 20:15:34 2008 +0000
@@ -142,6 +142,7 @@
 						SUPPORT_FEATURE(feat->namespace);
 				}
 			}
+#ifdef USE_VV
 		} else if (node && !strcmp(node, CAPS0115_NODE "#voice-v1")) {
 			SUPPORT_FEATURE("http://www.google.com/session");
 			SUPPORT_FEATURE("http://www.google.com/transport/p2p");
@@ -150,7 +151,9 @@
 			SUPPORT_FEATURE("http://www.xmpp.org/extensions/xep-0166.html");
 			SUPPORT_FEATURE("http://www.xmpp.org/extensions/xep-0180.html");
 			SUPPORT_FEATURE("http://www.xmpp.org/extensions/xep-0167.html");
+			SUPPORT_FEATURE("http://www.xmpp.org/extensions/xep-0176.html");
 			SUPPORT_FEATURE("http://www.xmpp.org/extensions/xep-0177.html");
+#endif
 		} else {
 			const char *ext = NULL;
 			unsigned pos;