adium 3708:1cc4cb925ec8: Mentions in topic updates appear to wor...
commits at adium.im
commits at adium.im
Fri Mar 4 21:48:51 UTC 2011
details: http://hg.adium.im/adium/rev/1cc4cb925ec8
revision: 3708:1cc4cb925ec8
author: Thijs Alkemade <thijsalkemade at gmail.com>
date: Fri Mar 04 22:48:19 2011 +0100
Mentions in topic updates appear to work inconsistently, disable showing them at all.
For me, only the dock icon got a numbered badge, but no event (growl or sound) triggered and the tab counter didn't update. This makes it look like that counter is stuck.
diffs (20 lines):
diff -r 719b4769da08 -r 1cc4cb925ec8 Source/AIMentionEventPlugin.m
--- a/Source/AIMentionEventPlugin.m Fri Mar 04 13:10:58 2011 -0500
+++ b/Source/AIMentionEventPlugin.m Fri Mar 04 22:48:19 2011 +0100
@@ -24,6 +24,7 @@
#import <Adium/AIContentMessage.h>
#import <Adium/AIChat.h>
#import <Adium/AIContactAlertsControllerProtocol.h>
+#import "AIContentTopic.h"
/*!
@@ -61,7 +62,7 @@
*/
- (NSAttributedString *)filterAttributedString:(NSAttributedString *)inAttributedString context:(id)context;
{
- if(![context isKindOfClass:[AIContentMessage class]])
+ if(![context isKindOfClass:[AIContentMessage class]] || [context isKindOfClass:[AIContentTopic class]])
return inAttributedString;
AIContentMessage *message = (AIContentMessage *)context;
More information about the commits
mailing list