parent
08581eefab
commit
0765c72616
|
@ -687,10 +687,8 @@ static NSComparisonResult _compareFetchResultsByUID (id entry1, id entry2, NSArr
|
||||||
if ([destinationAccountName isEqualToString: currentAccountName])
|
if ([destinationAccountName isEqualToString: currentAccountName])
|
||||||
{
|
{
|
||||||
// We make sure the destination IMAP folder exist, if not, we create it.
|
// We make sure the destination IMAP folder exist, if not, we create it.
|
||||||
result = [[client status: imapDestinationFolder
|
result = [[[client list: @"" pattern: imapDestinationFolder] objectForKey: @"list"] objectForKey: imapDestinationFolder];
|
||||||
flags: [NSArray arrayWithObject: @"UIDVALIDITY"]]
|
if (!result)
|
||||||
objectForKey: @"result"];
|
|
||||||
if (![result boolValue])
|
|
||||||
result = [[self imap4Connection] createMailbox: imapDestinationFolder
|
result = [[self imap4Connection] createMailbox: imapDestinationFolder
|
||||||
atURL: [[self mailAccountFolder] imap4URL]];
|
atURL: [[self mailAccountFolder] imap4URL]];
|
||||||
if (!result || [result boolValue])
|
if (!result || [result boolValue])
|
||||||
|
|
Loading…
Reference in New Issue