mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-09 13:57:12 +00:00
fix(eas): handle noselect special folders in Dovecot
This commit is contained in:
1 parent
53665222b5
commit
39255b193d
1 file changed
+2
-1
@@ -875,7 +875,8 @@ static NSString *inboxFolderName = @"INBOX";
|
||||
// * LIST (\NonExistent \HasChildren) "/" shared/jdoe@example.com
|
||||
// * LIST (\HasNoChildren) "/" shared/jdoe@example.com/INBOX
|
||||
else if (!hasAnnotatemore &&
|
||||
([[[result objectForKey: @"list"] objectForKey: currentFolder] indexOfObject: @"nonexistent"] != NSNotFound &&
|
||||
(([[[result objectForKey: @"list"] objectForKey: currentFolder] indexOfObject: @"nonexistent"] != NSNotFound ||
|
||||
[[[result objectForKey: @"list"] objectForKey: currentFolder] indexOfObject: @"noselect"] != NSNotFound)&&
|
||||
[[[result objectForKey: @"list"] objectForKey: currentFolder] indexOfObject: @"haschildren"] != NSNotFound))
|
||||
guid = [NSString stringWithFormat: @"%@", currentFolder];
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user