adium 3606:5f0d4b59d99f: Fix rather redundant statement after pr...

commits at adium.im commits at adium.im
Mon Dec 20 21:12:24 UTC 2010


details:	http://hg.adium.im/adium/rev/5f0d4b59d99f
revision:	3606:5f0d4b59d99f
author:		Thijs Alkemade <thijsalkemade at gmail.com>
date:		Mon Dec 20 22:12:08 2010 +0100

Fix rather redundant statement after previous commit.

diffs (16 lines):

diff -r 9ff6f82fc915 -r 5f0d4b59d99f Source/AdiumMessageEvents.m
--- a/Source/AdiumMessageEvents.m	Mon Dec 20 21:04:16 2010 +0100
+++ b/Source/AdiumMessageEvents.m	Mon Dec 20 22:12:08 2010 +0100
@@ -358,11 +358,7 @@
 		
 	} else {
 		if (messageText && [messageText length]) {
-			if (contentObject.chat.isGroupChat) {
-				description = [NSString stringWithFormat:@"%@", messageText];
-			} else {
-				description = messageText;
-			}
+			description = messageText;
 		} else {
 			if ([eventID isEqualToString:CONTENT_MESSAGE_RECEIVED] ||
 				[eventID isEqualToString:CONTENT_MESSAGE_RECEIVED_FIRST] ||




More information about the commits mailing list