mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 02:45:25 +00:00
Fix unseen count retrieval of nested IMAP folders
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user