sdk: fetch and cache profiles.

This commit is contained in:
fiatjaf
2023-10-31 11:00:46 -03:00
parent aaaf608c2b
commit 374dbbe1a0
5 changed files with 47 additions and 15 deletions

View File

@@ -13,9 +13,6 @@ type Relay struct {
Outbox bool
}
func FetchOutboxRelaysForPubkey(ctx context.Context, pool *nostr.SimplePool, pubkey string, n int) {
}
func FetchRelaysForPubkey(ctx context.Context, pool *nostr.SimplePool, pubkey string, relays ...string) []Relay {
ctx, cancel := context.WithCancel(ctx)
defer cancel()