InternalRelay: fix event distribution

This commit is contained in:
Alex Gleason 2024-04-25 21:03:39 -05:00
parent d8475e1b14
commit f1700a08f9
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 4 additions and 2 deletions

View File

@ -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;
}
}
}