(fix) don't check Dovecot conditions if we're using IMAP annotations
parent
2878665af4
commit
71ca4a7b47
|
@ -797,8 +797,9 @@ static NSString *inboxFolderName = @"INBOX";
|
|||
// * LIST (\NonExistent \HasChildren) "/" shared
|
||||
// * LIST (\NonExistent \HasChildren) "/" shared/jdoe@example.com
|
||||
// * LIST (\HasNoChildren) "/" shared/jdoe@example.com/INBOX
|
||||
else if (([[[result objectForKey: @"list"] objectForKey: currentFolder] indexOfObject: @"nonexistent"] != NSNotFound &&
|
||||
[[[result objectForKey: @"list"] objectForKey: currentFolder] indexOfObject: @"haschildren"] != NSNotFound))
|
||||
else if (!hasAnnotatemore &&
|
||||
([[[result objectForKey: @"list"] objectForKey: currentFolder] indexOfObject: @"nonexistent"] != NSNotFound &&
|
||||
[[[result objectForKey: @"list"] objectForKey: currentFolder] indexOfObject: @"haschildren"] != NSNotFound))
|
||||
guid = [NSString stringWithFormat: @"%@", currentFolder];
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue