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
@@ -18,7 +18,7 @@ export class Profiles extends RepositoryCollection<ReturnType<typeof readProfile
}
fetch(pubkey: string, relayHints: string[] = []) {
return this.ctx.use(RelayLists).makeOutboxLoader(PROFILE)(pubkey, relayHints)
return this.ctx.use(RelayLists).loadUsingOutbox(pubkey, {kinds: [PROFILE]}, relayHints)
}
display = (pubkey: string | undefined) =>