For our `WebView`s, use a preferences identifier of activeStyle-preferenceGroup. This uniques group chats from one-on-one chats when their preferences are being stored separately. The WebView preference identifier is used only transiently in our usage to allow all WebViews to update when one changes (via the preferences); this doesn't change our actual storage and retrieval of the prefs. Fixes #12810 by implementing Zac's suggestion there.
1.1 --- a/Plugins/WebKit Message View/AIWebKitMessageViewController.m Mon Nov 23 01:29:41 2009 -0500
1.2 +++ b/Plugins/WebKit Message View/AIWebKitMessageViewController.m Mon Nov 23 14:41:32 2009 -0600
1.3 @@ -352,7 +352,8 @@
1.4 activeStyle = [[[messageStyle bundle] bundleIdentifier] retain];
1.5 preferenceGroup = [[plugin preferenceGroupForChat:chat] retain];
1.6
1.7 - [webView setPreferencesIdentifier:activeStyle];
1.8 + [webView setPreferencesIdentifier:[NSString stringWithFormat:@"%@-%@",
1.9 + activeStyle, preferenceGroup]];
1.10
1.11 //Get the prefered variant (or the default if a prefered is not available)
1.12 activeVariant = [[adium.preferenceController preferenceForKey:[plugin styleSpecificKey:@"Variant" forStyle:activeStyle]