Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inoreader sync: work harder to avoid dupes
When Inoreader gets an item first, and we add it, it has an Inoreader id. When canto receives the same item later, it has a real id (or one canto assigned it), which is different and as such canto doesn't recognize that these items are identical (nor should it - that's the whole point of the id) and you end up with dupes (one from the feed, one from inoreader). To resolve this, when synchronizing with Inoreader, remove old items only seen in Inoreader content and attempt to re-add them, which will properly match the items if canto has found a real copy.
- Loading branch information