From cc51917d61e21bae5f4f828eba02acccd9837df8 Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Wed, 17 Jul 2024 10:37:54 -0300 Subject: [PATCH] fix(outbox): remove comment, use author pubkey --- src/utils/outbox.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/outbox.ts b/src/utils/outbox.ts index e5d7029c..72b83388 100644 --- a/src/utils/outbox.ts +++ b/src/utils/outbox.ts @@ -2,11 +2,11 @@ import { NStore } from '@nostrify/nostrify'; import { Conf } from '@/config.ts'; -export async function getRelays(store: NStore, _pubkey: string): Promise> { +export async function getRelays(store: NStore, pubkey: string): Promise> { const relays = new Set<`wss://${string}`>(); const events = await store.query([ - { kinds: [10002], authors: [/*pubkey, */ Conf.pubkey], limit: 2 }, + { kinds: [10002], authors: [pubkey, Conf.pubkey], limit: 2 }, ]); for (const event of events) {