From 31a55844a3ad2d4126d56468394bcdcb899eb2fc Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Thu, 9 Apr 2009 21:01:15 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: b8c469061302cf2a28202e96504b5ec370eb8211 Monotone-Revision: 795fdd1b62319c12f9aef930c35c63d2fd26c3ac Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2009-04-09T21:01:15 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 +++ SoObjects/Mailer/SOGoMailFolder.m | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3a739a47d..8d4c82079 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ * Reverted previous patch and provided the correct fix in SOGoMailFolder: -postData:flags: * Fixed the compilation of unit tests for NGCards. + * SoObjects/Mailer/SOGoMailFolder.m: Added -displayName + which returns -nameInContainer to avoid crashes when + sending ACL changes notifications for email folders. 2009-04-09 Francis Lachapelle diff --git a/SoObjects/Mailer/SOGoMailFolder.m b/SoObjects/Mailer/SOGoMailFolder.m index 5b5d6f37d..4f0a19a5b 100644 --- a/SoObjects/Mailer/SOGoMailFolder.m +++ b/SoObjects/Mailer/SOGoMailFolder.m @@ -1097,6 +1097,11 @@ static NSString *spoolFolder = nil; return ([fm createDirectoriesAtPath: [self userSpoolFolderPath] attributes:nil]); } +- (NSString *) displayName +{ + return [self nameInContainer]; +} + @end /* SOGoMailFolder */ @implementation SOGoSpecialMailFolder