mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-04 21:08:51 +00:00
(fix) don't check Dovecot conditions if we're using IMAP annotations
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user