mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
pipeline: fix hydrateEvent
This commit is contained in:
parent
b867f6c33c
commit
3c8b5be783
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ async function encounterEvent(event: NostrEvent, signal: AbortSignal): Promise<b
|
|||
|
||||
/** Hydrate the event with the user, if applicable. */
|
||||
async function hydrateEvent(event: DittoEvent): Promise<void> {
|
||||
const [user] = await eventsDB.query([{ kinds: [30361], authors: [Conf.pubkey], limit: 1 }]);
|
||||
const [user] = await eventsDB.query([{ kinds: [30361], authors: [Conf.pubkey], '#d': [event.pubkey], limit: 1 }]);
|
||||
event.user = user;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue