From 5ec8f6ee2bb0c926a0eb1b22d30b37fe5d2a3b4a Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 26 Jul 2011 16:25:34 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: 5549db4f2d783334120dc64154749352cbc0b8e8 Monotone-Revision: b3b57ace71b8022a69465703bcadda8a0a468a74 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-07-26T16:25:34 Monotone-Branch: ca.inverse.sogo Monotone-Tag: SOGo_v1.3.8b --- ChangeLog | 6 ++++++ UI/MailerUI/UIxMailListActions.m | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 250d8e3cb..3a60e3085 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-07-26 Francis Lachapelle + + * UI/MailerUI/UIxMailListActions.m + (-getUIDsInFolder:withHeaders:): we check if the array of messages + UIDs is nil prior adding it to the returned dictionary. + 2011-07-25 Wolfgang Sourdeau * SoObjects/Mailer/SOGoMailAccount.m (-hasCapability): new proxy diff --git a/UI/MailerUI/UIxMailListActions.m b/UI/MailerUI/UIxMailListActions.m index e6789405f..d122bfb33 100644 --- a/UI/MailerUI/UIxMailListActions.m +++ b/UI/MailerUI/UIxMailListActions.m @@ -663,7 +663,8 @@ else sortByThread = NO; } - [data setObject: uids forKey: @"uids"]; + if (uids != nil) + [data setObject: uids forKey: @"uids"]; [data setObject: [NSNumber numberWithBool: sortByThread] forKey: @"threaded"]; // We also return the inbox quota