adium 5435:7bae4e81a1ce: The "Not Private" in the fingerprint li...

commits at adium.im commits at adium.im
Wed Apr 24 22:12:54 UTC 2013


details:	http://hg.adium.im/adium/rev/7bae4e81a1ce
revision:	5435:7bae4e81a1ce
branch:		libotr4.0.0
author:		Thijs Alkemade <me at thijsalkema.de>
date:		Thu Apr 25 00:12:24 2013 +0200

The "Not Private" in the fingerprint list was very confusing, made it clear it means "No OTR session active".

Don't understand why we can't show the verification status of the fingerprint in that case, though.

diffs (23 lines):

diff -r d83e2b960213 -r 7bae4e81a1ce Source/ESOTRPreferences.m
--- a/Source/ESOTRPreferences.m	Thu Apr 25 00:01:14 2013 +0200
+++ b/Source/ESOTRPreferences.m	Thu Apr 25 00:12:24 2013 +0200
@@ -149,16 +149,14 @@
 					
 					switch (trustLevel) {
 						case TRUST_NOT_PRIVATE:
-							state = AILocalizedString(@"Not private",nil);
+						case TRUST_FINISHED:
+							state = AILocalizedString(@"No OTR session active",nil);
 							break;
 						case TRUST_UNVERIFIED:
 							state = AILocalizedString(@"Unverified",nil);
 							break;
 						case TRUST_PRIVATE:
-							state = AILocalizedString(@"Private",nil);
-							break;
-						case TRUST_FINISHED:
-							state = AILocalizedString(@"Finished",nil);
+							state = AILocalizedString(@"Verified",nil);
 							break;
 						default:
 							state = @"";




More information about the commits mailing list