Merge branch 'internal-relay-push' into 'main'

InternalRelay: fix event distribution

See merge request soapbox-pub/ditto!187
This commit is contained in:
Alex Gleason 2024-04-26 02:12:12 +00:00
commit fae289486c
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;
}
}
}