This commit is contained in:
Martti Malmi
2023-12-21 21:50:43 +02:00
parent 782a2217b4
commit 9e6971423e
10 changed files with 85 additions and 21 deletions

View File

@ -195,7 +195,7 @@ export class Query extends EventEmitter<QueryEvents> implements QueryBase {
handleEvent(sub: string, e: TaggedNostrEvent) {
for (const t of this.#tracing) {
if (t.id === sub) {
if (t.id === sub || sub === "*") {
if (t.filters.some(v => eventMatchesFilter(e, v))) {
this.feed.add(e);
} else {