From b8c67a85d0167bb657f269286339f64455167cf3 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 8 Feb 2025 09:58:02 -0600 Subject: [PATCH] hydrate: move gatherMentions down --- src/storages/hydrate.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/storages/hydrate.ts b/src/storages/hydrate.ts index 77b64fdc..76919a31 100644 --- a/src/storages/hydrate.ts +++ b/src/storages/hydrate.ts @@ -30,10 +30,6 @@ async function hydrateEvents(opts: HydrateOpts): Promise { const cache = [...events]; - for (const event of await gatherMentions({ events: cache, store, signal })) { - cache.push(event); - } - for (const event of await gatherReposts({ events: cache, store, signal })) { cache.push(event); } @@ -46,6 +42,10 @@ async function hydrateEvents(opts: HydrateOpts): Promise { cache.push(event); } + for (const event of await gatherMentions({ events: cache, store, signal })) { + cache.push(event); + } + for (const event of await gatherAuthors({ events: cache, store, signal })) { cache.push(event); }