mirror of
https://github.com/aljazceru/ditto.git
synced 2026-02-07 14:34:30 +01:00
fix(hydrate): make gatherAuthors() function async
This commit is contained in:
@@ -226,7 +226,7 @@ function gatherQuotes({ events, store, signal }: HydrateOpts): Promise<DittoEven
|
||||
}
|
||||
|
||||
/** Collect authors from the events. */
|
||||
function gatherAuthors({ events, store, signal }: HydrateOpts): Promise<DittoEvent[]> {
|
||||
async function gatherAuthors({ events, store, signal }: HydrateOpts): Promise<DittoEvent[]> {
|
||||
const pubkeys = new Set<string>();
|
||||
|
||||
for (const event of events) {
|
||||
|
||||
Reference in New Issue
Block a user