mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-03 12:28:51 +00:00
fix(eas): handle noselect special folders in Dovecot
This commit is contained in:
@@ -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