diff --git a/OpenChange/MAPIStoreMailFolder.m b/OpenChange/MAPIStoreMailFolder.m index f0912d8f0..6a99fda18 100644 --- a/OpenChange/MAPIStoreMailFolder.m +++ b/OpenChange/MAPIStoreMailFolder.m @@ -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]