adium 3616:f485a39ae9eb: Outgoing messages shouldn't show as men...

commits at adium.im commits at adium.im
Tue Jan 4 22:27:43 UTC 2011


details:	http://hg.adium.im/adium/rev/f485a39ae9eb
revision:	3616:f485a39ae9eb
author:		Thijs Alkemade <thijsalkemade at gmail.com>
date:		Tue Jan 04 23:27:20 2011 +0100

Outgoing messages shouldn't show as mentioning yourself, even if they do.

diffs (12 lines):

diff -r 29bea8fca4a4 -r f485a39ae9eb Source/AIMentionEventPlugin.m
--- a/Source/AIMentionEventPlugin.m	Tue Jan 04 22:40:43 2011 +0100
+++ b/Source/AIMentionEventPlugin.m	Tue Jan 04 23:27:20 2011 +0100
@@ -67,7 +67,7 @@
 	AIContentMessage *message = (AIContentMessage *)context;
 	AIChat *chat = message.chat;
 	
-	if(!chat.isGroupChat)
+	if(!chat.isGroupChat || message.isOutgoing)
 		return inAttributedString;
 		
 	NSString *messageString = [inAttributedString string];




More information about the commits mailing list