diff --git a/src/storages/hydrate.ts b/src/storages/hydrate.ts index 76919a31..a162571a 100644 --- a/src/storages/hydrate.ts +++ b/src/storages/hydrate.ts @@ -280,9 +280,10 @@ async function gatherMentions({ events, store, signal }: HydrateOpts): Promise name === 'p')?.[1]; - if (pubkey) { - pubkeys.add(pubkey); + for (const [name, value] of event.tags) { + if (name === 'p') { + pubkeys.add(value); + } } } }