nemomobile / buteo-sync-plugins

1 stars 7 forks source link

[buteo-syncml-plugins] Don't duplicate modified contact ids. #24

Closed blammit closed 10 years ago

blammit commented 10 years ago

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.

chriadam commented 10 years ago

LGTM.