mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-16 08:57:12 +00:00
Fix unseen count retrieval of nested IMAP folders
This commit is contained in:
1 parent
50c790c846
commit
a668d89ef9
4 files changed
+28
-5
No files matched your search
@@ -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