From 89a3944c8bbceff3c4f500ebe616864cce79fb7c Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 23 Feb 2012 21:12:56 +0000 Subject: [PATCH] Monotone-Parent: fa0f9bd311fd3d1239970c0d361a8ef16ecfa4f9 Monotone-Revision: 3a9c8a7bada864ce6b83c04661c09d59c8ecf8d9 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-02-23T21:12:56 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 7 +++++++ SoObjects/Mailer/SOGoMailAccount.m | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b6716ecdf..c818c7a58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2012-02-23 Wolfgang Sourdeau + * SoObjects/Mailer/SOGoMailAccount.m + (-toManyRelationshipKeysWithNamespaces:): for some reason, we were + explicitly returning the drafts folder name in the batch whether + the corresponding folder exists or not, which is useless and + wrong since the folder in question might actually be a child of + another folder. + * OpenChange/MAPIStoreContext.m (-init): restored "containersBag" mechanism where root context folders that are deeper than the first level of their hierarchy needs to have their parent folders diff --git a/SoObjects/Mailer/SOGoMailAccount.m b/SoObjects/Mailer/SOGoMailAccount.m index 6a3bd5c24..448b7b2a4 100644 --- a/SoObjects/Mailer/SOGoMailAccount.m +++ b/SoObjects/Mailer/SOGoMailAccount.m @@ -182,7 +182,6 @@ static NSString *inboxFolderName = @"INBOX"; imapFolders = [[self imap4Connection] subfoldersForURL: [self imap4URL]]; folders = [imapFolders mutableCopy]; [folders autorelease]; - [folders addObjectUniquely: [self draftsFolderNameInContext: nil]]; if (withNSs) [self _appendNamespaces: folders]; else