adium 2414:7f2d56a01424: Actually, no. It's not worth it; I don'...

commits at adium.im commits at adium.im
Sat May 30 21:08:48 UTC 2009


details:	http://hg.adium.im/adium/rev/7f2d56a01424
revision:	2414:7f2d56a01424
author:		Zachary West <zacw at adium.im>
date:		Sat May 30 17:08:43 2009 -0400

Actually, no. It's not worth it; I don't want URLs tied to our account at all.

diffs (35 lines):

diff -r b454b49dc3f3 -r 7f2d56a01424 Source/AIURLShortenerPlugin.h
--- a/Source/AIURLShortenerPlugin.h	Sat May 30 17:07:29 2009 -0400
+++ b/Source/AIURLShortenerPlugin.h	Sat May 30 17:08:43 2009 -0400
@@ -21,8 +21,7 @@
 	AITinyURL = 0,
 	AIisgd,
 	AIMetamark,
-	AITrim,
-	AIBitly
+	AITrim
 } AIShortenLinkService;
 
 @interface AIURLShortenerPlugin : AIPlugin {	
diff -r b454b49dc3f3 -r 7f2d56a01424 Source/AIURLShortenerPlugin.m
--- a/Source/AIURLShortenerPlugin.m	Sat May 30 17:07:29 2009 -0400
+++ b/Source/AIURLShortenerPlugin.m	Sat May 30 17:08:43 2009 -0400
@@ -105,7 +105,6 @@
 																		  [NSNumber numberWithInteger:AIisgd], @"is.gd",
 																		  [NSNumber numberWithInteger:AIMetamark], @"xrl.us",
 																		  [NSNumber numberWithInteger:AITrim], @"tr.im",
-																		  [NSNumber numberWithInteger:AIBitly], @"bit.ly",
 																		  nil];
 
 	[menu removeAllItems];
@@ -250,10 +249,6 @@
 			request = [NSString stringWithFormat:@"http://api.tr.im/api/trim_simple?api_key=zghQN6sv5y0FkLPNlQAopm7qDQz6ItO33ENU21OBsy3dL1Kl&url=%@", [address stringByAddingPercentEscapesForAllCharacters]];
 			break;
 			
-		case AIBitly:
-			request = [NSString stringWithFormat:@"http://api.bit.ly/shorten?version=2.0.1&format=text&longUrl=%@&login=adiumofficial&apiKey=R_3a9f4affdf9181536d5536f67e02a59c", [address stringByAddingPercentEscapesForAllCharacters]];
-			break;
-			
 		default:
 			
 			break;




More information about the commits mailing list