From fba9788f99b95d6d9103fd75f58c95f6c15d4c34 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 27 Sep 2012 19:23:14 -0400 Subject: [PATCH] We need to store the message UID as NSString keys rather than NSNumber instances, otherwise the lookups occurring later using NSString keys will not work --- SoObjects/Mailer/SOGoMailFolder.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SoObjects/Mailer/SOGoMailFolder.m b/SoObjects/Mailer/SOGoMailFolder.m index bac7e1cf9..dbc7fc2df 100644 --- a/SoObjects/Mailer/SOGoMailFolder.m +++ b/SoObjects/Mailer/SOGoMailFolder.m @@ -364,8 +364,8 @@ static NSString *defaultUserID = @"anyone"; for (count = 0; count < max ; count++) { infos = [allValues objectAtIndex: count]; - [prefetchedInfos setObject: infos - forKey: [infos objectForKey: @"uid"]]; + key = [NSString stringWithFormat: @"%@", [infos objectForKey: @"uid"]]; + [prefetchedInfos setObject: infos forKey: key]; } } else