diff --git a/src/storages/InternalRelay.ts b/src/storages/InternalRelay.ts index e2f4fad..d99dda2 100644 --- a/src/storages/InternalRelay.ts +++ b/src/storages/InternalRelay.ts @@ -53,10 +53,12 @@ export class InternalRelay implements NRelay { ) as { key: 'domain'; value: string } | undefined)?.value; if (domain === event.author_domain) { - return machina.push(purifyEvent(event)); + machina.push(purifyEvent(event)); + break; } } else { - return machina.push(purifyEvent(event)); + machina.push(purifyEvent(event)); + break; } } }