1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-31 03:12:44 +00:00

fix favicons in the tracker tab

This commit is contained in:
Mitchell Livingston 2009-12-13 22:47:25 +00:00
parent 33f20dc457
commit 3695344cfd

View file

@ -193,7 +193,7 @@ NSMutableSet * fTrackerIconLoading;
- (NSImage *) favIcon
{
NSURL * address = [NSURL URLWithString: [(TrackerNode *)[self objectValue] host]];
NSURL * address = [NSURL URLWithString: [(TrackerNode *)[self objectValue] fullAnnounceAddress]];
NSArray * hostComponents = [[address host] componentsSeparatedByString: @"."];
//let's try getting the tracker address without using any subdomains