changeset 30981:3b6106598b13

jabber: Fix picking up bytestream proxies advertised by the server
author Paul Aurich <paul@darkrain42.org>
date Thu, 16 Sep 2010 02:25:56 +0000
parents 8742041c5883
children fcb8fad4f029
files ChangeLog libpurple/protocols/jabber/disco.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Sep 15 14:50:22 2010 +0000
+++ b/ChangeLog	Thu Sep 16 02:25:56 2010 +0000
@@ -31,6 +31,7 @@
 	  Stream ID. (#12331)
 	* Added support for using Google's relay servers when making voice and
 	  video calls to Google clients.
+	* Fix detecting file transfer proxies advertised by the server.
 
 	Yahoo/Yahoo JAPAN:
 	* Stop doing unnecessary lookups of certain alias information.  This
--- a/libpurple/protocols/jabber/disco.c	Wed Sep 15 14:50:22 2010 +0000
+++ b/libpurple/protocols/jabber/disco.c	Thu Sep 16 02:25:56 2010 +0000
@@ -258,7 +258,7 @@
 				} else if(!strcmp(category, "directory") && !strcmp(type, "user")) {
 					/* we found a JUD */
 					js->user_directories = g_list_prepend(js->user_directories, g_strdup(from));
-				} else if(!strcmp(category, "proxy") && !strcmp(type, NS_BYTESTREAMS)) {
+				} else if(!strcmp(category, "proxy") && !strcmp(type, "bytestreams")) {
 					/* This is a bytestream proxy */
 					JabberIq *iq;
 					JabberBytestreamsStreamhost *sh;