Cleanup handlers

This commit is contained in:
2023-09-15 13:14:12 +01:00
parent ca2c9130aa
commit 1a6df18e8b
2 changed files with 14 additions and 14 deletions

View File

@ -169,7 +169,7 @@ export class Query implements QueryBase {
return this.#feed;
}
onEvent(sub: string, e: TaggedNostrEvent) {
handleEvent(sub: string, e: TaggedNostrEvent) {
for (const t of this.#tracing) {
if (t.id === sub) {
if (t.filters.some(v => eventMatchesFilter(e, v))) {