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

maint-2.0.2
Wolfgang Sourdeau 2012-09-27 19:23:14 -04:00
parent a353b6e4ed
commit fba9788f99
1 changed files with 2 additions and 2 deletions

View File

@ -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