plugins/challengeresponse 10:8dd69663b8ef: Compile using GCC 4.0.

commits at adium.im commits at adium.im
Sat Sep 18 02:36:44 UTC 2010


details:	http://hg.adium.im/plugins/challengeresponse/rev/8dd69663b8ef
revision:	10:8dd69663b8ef
author:		Zachary West <zacw at adium.im>
date:		Fri Sep 17 22:36:17 2010 -0400

Compile using GCC 4.0.
Subject: plugins/challengeresponse 11:6f9b728dfb08: Always whitelist Twitter contacts, always!

details:	http://hg.adium.im/plugins/challengeresponse/rev/6f9b728dfb08
revision:	11:6f9b728dfb08
author:		Zachary West <zacw at adium.im>
date:		Fri Sep 17 22:36:38 2010 -0400

Always whitelist Twitter contacts, always!

diffs (25 lines):

diff -r 8adb2468a4c5 -r 6f9b728dfb08 ChallengeResponse.xcodeproj/project.pbxproj
--- a/ChallengeResponse.xcodeproj/project.pbxproj	Fri Sep 17 22:32:28 2010 -0400
+++ b/ChallengeResponse.xcodeproj/project.pbxproj	Fri Sep 17 22:36:38 2010 -0400
@@ -259,6 +259,7 @@
 				ARCHS = "$(ARCHS_STANDARD_32_BIT)";
 				GCC_C_LANGUAGE_STANDARD = c99;
 				GCC_OPTIMIZATION_LEVEL = 0;
+				GCC_VERSION = 4.0;
 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
 				ONLY_ACTIVE_ARCH = YES;
diff -r 8adb2468a4c5 -r 6f9b728dfb08 ChallengeResponsePlugin.m
--- a/ChallengeResponsePlugin.m	Fri Sep 17 22:32:28 2010 -0400
+++ b/ChallengeResponsePlugin.m	Fri Sep 17 22:36:38 2010 -0400
@@ -277,6 +277,10 @@
 	if(![listObject isKindOfClass:[AIListContact class]])
 		return YES;
 	
+	// Always let Twitter through.
+	if([[[listObject service] serviceClass] isEqualToString:@"Twitter"])
+		return YES;
+	
 	return ((![listObject isStranger] && [(AIListContact *)listObject isIntentionallyNotAStranger]) ||
 			[whiteList containsObject:[listObject internalObjectID]]);
 }




More information about the commits mailing list