Don't add a focus class for messages in the active chat. Refs #13300.
1.1 --- a/Plugins/WebKit Message View/AIWebKitMessageViewController.m Mon Nov 02 18:30:22 2009 -0500
1.2 +++ b/Plugins/WebKit Message View/AIWebKitMessageViewController.m Mon Nov 02 18:35:26 2009 -0500
1.3 @@ -683,7 +683,10 @@
1.4
1.5 // Set it as a focus if appropriate.
1.6 if (nextMessageFocus && [content.type isEqualToString:CONTENT_MESSAGE_TYPE]) {
1.7 - [content addDisplayClass:@"focus"];
1.8 + if (adium.interfaceController.activeChat != content.chat) {
1.9 + [content addDisplayClass:@"focus"];
1.10 + }
1.11 +
1.12 nextMessageFocus = NO;
1.13 }
1.14