mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-06 09:19:21 +00:00
(fix) now dynamically detect and use the IMAP separator (fixes #1490)
This commit is contained in:
1 parent
936f7dde09
commit
3187bca0ef
7 files changed
+27
-17
No files matched your search
@@ -257,6 +257,18 @@ static NSString *inboxFolderName = @"INBOX";
|
||||
return [capabilities containsObject: capability];
|
||||
}
|
||||
|
||||
- (NSString *) imap4Separator
|
||||
{
|
||||
NGImap4Client *imapClient;
|
||||
|
||||
imapClient = [[self imap4Connection] client];
|
||||
|
||||
if (![imapClient delimiter])
|
||||
[imapClient list: @"INBOX" pattern: @""];
|
||||
|
||||
return [imapClient delimiter];
|
||||
}
|
||||
|
||||
- (BOOL) supportsQuotas
|
||||
{
|
||||
return [self hasCapability: @"quota"];
|
||||
|
||||
Reference in new issue
Block a user