oc: Make sure we always use NSString keys in 'messages' dictionary
Different types for keys in Dictionaries leads to not finding expected entry - we should make sure that everythime we set/get entry from a dictionary, key object type is samepull/69/head
parent
0a23f18fc9
commit
18acdf20a6
|
@ -639,7 +639,7 @@ _compareFetchResultsByMODSEQ (id entry1, id entry2, void *data)
|
|||
changeNumber = nil;
|
||||
for (count = 0; count < max; count++)
|
||||
{
|
||||
uid = [fetchResults objectAtIndex: count];
|
||||
uid = [[fetchResults objectAtIndex: count] stringValue];
|
||||
if ([messages objectForKey: uid])
|
||||
{
|
||||
newChangeNum = [[changeNumbers objectAtIndex: count]
|
||||
|
|
Loading…
Reference in New Issue