2005-07-22 Helge Hess <helge.hess@opengroupware.org>
+ * SOGoSharedMailAccount.m: do not show the drafts folder in share
+ mailboxes (v0.9.122)
+
* SOGoUser+Mail.m: properly set email field of share account identities
(v0.9.121)
/* listing the available folders */
+- (NSArray *)additionalRootFolderNames {
+ /* do not show Drafts folder in shared mailboxes (#1452) */
+ /* Note: this also disables the Sieve folder */
+ return nil;
+}
+
- (NSArray *)toManyRelationshipKeys {
NSMutableArray *m;
NSArray *b;
if ((b = [[self imap4Connection] subfoldersForURL:[self imap4URL]]) != nil)
[m addObjectsFromArray:b];
- [m addObjectsFromArray:[self additionalRootFolderNames]];
+ if ((b = [self additionalRootFolderNames]) != nil)
+ [m addObjectsFromArray:b];
return m;
}