Track deletes of duplicates even if they never are added to the repo. Uniqify filters when performing a union

This commit is contained in:
Jon Staab
2024-06-06 17:40:57 -07:00
parent fc00208fe3
commit 48f0e99a5b
2 changed files with 5 additions and 2 deletions
+2
View File
@@ -140,6 +140,8 @@ export class Repository extends Emitter {
// If our duplicate is newer than the event we're adding, we're done
if (duplicate && duplicate.created_at >= event.created_at) {
this.deletes.set(event.id, duplicate.created_at)
return
}