wire up trigger to restart sync for ACL spider

This commit is contained in:
2025-09-07 20:24:04 +01:00
parent 5a068378fa
commit 2491fd2738
7 changed files with 46 additions and 3 deletions

View File

@@ -68,7 +68,8 @@ func (l *Listener) HandleReq(msg []byte) (
err = nil
}
}
// write out the events to the socket
// todo: filter out privileged events from the results if the user is not
// authed or authed to a non-privileged pubkey.
seen := make(map[string]struct{})
for _, ev := range events {
// track the IDs we've sent