Before aIdList is populated with the modified contact ids, the list
must be cleared, else it will contain both the existing ids and the
newly added ids.
This patch allows fast syncs with modified contacts to be performed
successfully. Otherwise, this operation currently results in an error
because the number of returned contacts is always double the requested
amount, which causes SyncItemPrefetcher::prefetch() to cancel its
fetch operation.
Before aIdList is populated with the modified contact ids, the list must be cleared, else it will contain both the existing ids and the newly added ids.
This patch allows fast syncs with modified contacts to be performed successfully. Otherwise, this operation currently results in an error because the number of returned contacts is always double the requested amount, which causes SyncItemPrefetcher::prefetch() to cancel its fetch operation.