fetch: more places to fetch relay lists from.

This commit is contained in:
fiatjaf 2024-01-02 11:05:43 -03:00
parent 8373da647e
commit 16c1e795bd
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

View File

@ -70,7 +70,8 @@ var fetch = &cli.Command{
pool := nostr.NewSimplePool(c.Context)
if authorHint != "" {
relayList := sdk.FetchRelaysForPubkey(c.Context, pool, authorHint,
"wss://purplepag.es", "wss://offchain.pub", "wss://public.relaying.io")
"wss://purplepag.es", "wss://relay.damus.io", "wss://relay.noswhere.com",
"wss://nos.lol", "wss://public.relaying.io", "wss://relay.nostr.band")
for _, relayListItem := range relayList {
if relayListItem.Outbox {
relays = append(relays, relayListItem.URL)