Fix some net bugs

This commit is contained in:
Jon Staab
2026-05-28 11:30:54 -07:00
parent 4137f35cee
commit 3b2f2b14e4
10 changed files with 81 additions and 40 deletions
+5 -1
View File
@@ -327,7 +327,11 @@ export class Repository extends Emitter {
a.push(add)
}
m.set(k, a)
if (a.length > 0) {
m.set(k, a)
} else {
m.delete(k)
}
}
_getEvents = (ids: Iterable<string>) => {