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

This commit is contained in:
Wolfgang Sourdeau 2012-09-27 19:23:14 -04:00
parent a353b6e4ed
commit fba9788f99

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