adium/adium

Parents 6c064c1c2d07
Children e253db549c60
I think this code is unused, I can't find any other reference to LogIsDirty_, and this confused ESObjectWithProperties.
--- a/Source/AILoggerPlugin.m Wed Aug 08 16:48:23 2012 +0200
+++ b/Source/AILoggerPlugin.m Wed Aug 08 20:57:16 2012 +0200
@@ -1632,19 +1632,6 @@
OSAtomicCompareAndSwap64Barrier(bself->logsToIndex, [bself->dirtyLogSet count], (int64_t *)&(bself->logsToIndex));
});
- //Clear the dirty status of all open chats so they will be marked dirty if they receive another message
- for (AIChat *chat in adium.chatController.openChats) {
- NSString *existingAppenderPath = [[self _existingAppenderForChat:chat] path];
- if (existingAppenderPath) {
- NSString *dirtyKey = [@"LogIsDirty_" stringByAppendingString:existingAppenderPath];
-
- if ([chat integerValueForProperty:dirtyKey]) {
- [chat setValue:nil
- forProperty:dirtyKey
- notify:NotifyNever];
- }
- }
- }
self.isIndexing = NO;
dispatch_async(dispatch_get_main_queue(), ^{
[[AILogViewerWindowController existingWindowController] logIndexingProgressUpdate];