mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
fix(outbox): remove comment, use author pubkey
This commit is contained in:
parent
aec2cd3b9f
commit
cc51917d61
1 changed files with 2 additions and 2 deletions
|
|
@ -2,11 +2,11 @@ import { NStore } from '@nostrify/nostrify';
|
|||
|
||||
import { Conf } from '@/config.ts';
|
||||
|
||||
export async function getRelays(store: NStore, _pubkey: string): Promise<Set<string>> {
|
||||
export async function getRelays(store: NStore, pubkey: string): Promise<Set<string>> {
|
||||
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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue