fix(mail): retrieve IMAP delimiter after LIST command

snyk-upgrade-0ec09bc7ae34af7c5d0348d49696b8f1
Francis Lachapelle 2021-04-21 10:49:33 -04:00
parent a83b0d822a
commit 189aab3535
1 changed files with 2 additions and 0 deletions

View File

@ -906,6 +906,8 @@ static NSString *sieveScriptName = @"sogo";
if (!delimiter)
[imapClient list: @"INBOX" pattern: @""];
delimiter = [imapClient delimiter];
if (!delimiter)
delimiter = [dd stringForKey: @"NGImap4ConnectionStringSeparator"];