diff libpurple/protocols/jabber/jabber.c @ 29439:031fd1cd88df

jabber: Update the default FT proxy (if it's still set as the previous, broken, default).
author Paul Aurich <paul@darkrain42.org>
date Mon, 15 Feb 2010 00:20:55 +0000
parents 9e735d7e2f1d
children d77ecfe2b2c9 403a53ff9aa4 2ad2e3490b23
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Mon Feb 15 00:12:12 2010 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Mon Feb 15 00:20:55 2010 +0000
@@ -951,6 +951,10 @@
 	if (js == NULL)
 		return;
 
+	/* TODO: Remove this at some point.  Added 2010-02-14 (v2.6.6) */
+	if (g_str_equal("proxy.jabber.org", purple_account_get_string(account, "ft_proxies", "")))
+		purple_account_set_string(account, "ft_proxies", JABBER_DEFAULT_FT_PROXIES);
+
 	/*
 	 * Calculate the avatar hash for our current image so we know (when we
 	 * fetch our vCard and PEP avatar) if we should send our avatar to the