adium 2459:08e6c20111a8: The XMPP Foundation has moved the serve...

commits at adium.im commits at adium.im
Wed Jun 3 22:42:08 UTC 2009


details:	http://hg.adium.im/adium/rev/08e6c20111a8
revision:	2459:08e6c20111a8
author:		Andreas Monitzer <am at adiumx.com>
date:		Thu Jun 04 00:40:04 2009 +0200

The XMPP Foundation has moved the server list XML file once more, updated code to reflect this.

diffs (21 lines):

diff -r 7832c2b3c28d -r 08e6c20111a8 Plugins/Purple Service/ESPurpleJabberAccountViewController.m
--- a/Plugins/Purple Service/ESPurpleJabberAccountViewController.m	Tue Jun 02 23:17:13 2009 -0700
+++ b/Plugins/Purple Service/ESPurpleJabberAccountViewController.m	Thu Jun 04 00:40:04 2009 +0200
@@ -21,7 +21,7 @@
 #import <Adium/AIContactList.h>
 #import <SystemConfiguration/SystemConfiguration.h>
 
-#define SERVERFEEDRSSURL @"http://www.jabber.org/full_servers.xml"
+#define SERVERFEEDRSSURL @"http://xmpp.org/services/services-full.xml"
 
 @implementation ESPurpleJabberAccountViewController
 
@@ -233,7 +233,7 @@
 				servers = [[NSMutableArray alloc] init];
 				
 				for (NSXMLElement *item in items) {
-					NSXMLElement *title = [[item elementsForName:@"name"] lastObject];
+					NSXMLElement *title = [[item elementsForName:@"domain"] lastObject];
 					if(!title)
 						continue;
 					NSXMLElement *description = [[item elementsForName:@"description"] lastObject];




More information about the commits mailing list