mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-06 07:04:24 +01:00
perf: hydrate repost events in reblog endpoint & streaming
This commit is contained in:
@@ -63,7 +63,7 @@ async function renderStatuses(c: AppContext, filters: NostrFilter[]) {
|
||||
|
||||
const statuses = (await Promise.all(events.map((event) => {
|
||||
if (event.kind === 6) {
|
||||
return renderReblog(event, {});
|
||||
return renderReblog(event);
|
||||
}
|
||||
return renderStatus(event, c.get('pubkey'));
|
||||
}))).filter((boolean) => boolean);
|
||||
|
||||
Reference in New Issue
Block a user