Fix unseen count retrieval of nested IMAP folders

This commit is contained in:
Francis Lachapelle committed 2016-02-26 14:59:54 -05:00
1 parent 50c790c846
commit a668d89ef9
4 files changed
+28 -5

No files matched your search

+3 -4
View File
@@ -641,10 +641,9 @@
account = [[self clientObject] lookupName: [pathComponents objectAtIndex: 0]
inContext: context
acquire: YES];
folder = [account lookupName: [NSString pathWithComponents: [pathComponents subarrayWithRange: NSMakeRange(1, [pathComponents count]-1)]]
inContext: context
acquire: YES];
folder = [account lookupNameByPaths: [pathComponents subarrayWithRange: NSMakeRange(1, [pathComponents count]-1)]
inContext: context
acquire: YES];
return [folder unseenCount];
}