Tweak outbox loader

This commit is contained in:
Jon Staab
2026-06-16 15:00:01 -07:00
parent 9094d30b89
commit 163d2dc355
10 changed files with 22 additions and 36 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ export class BlockedRelayLists extends RepositoryCollection<ReturnType<typeof re
}
fetch(pubkey: string, relayHints: string[] = []) {
return this.ctx.use(RelayLists).makeOutboxLoader(BLOCKED_RELAYS)(pubkey, relayHints)
return this.ctx.use(RelayLists).loadUsingOutbox(pubkey, {kinds: [BLOCKED_RELAYS]}, relayHints)
}
getBlockedRelays = (pubkey: string) => getRelaysFromList(this.get(pubkey))