add relay.primal.net as another fallback big relay for outbox.

This commit is contained in:
fiatjaf
2026-04-10 09:59:57 -03:00
parent 0152341144
commit a8205a3790
+1 -1
View File
@@ -55,7 +55,7 @@ func (sys *System) FetchOutboxRelays(ctx context.Context, pubkey nostr.PubKey, n
func (sys *System) FetchInboxRelays(ctx context.Context, pubkey nostr.PubKey, n int) []string { func (sys *System) FetchInboxRelays(ctx context.Context, pubkey nostr.PubKey, n int) []string {
rl := sys.FetchRelayList(ctx, pubkey) rl := sys.FetchRelayList(ctx, pubkey)
if len(rl.Items) == 0 || len(rl.Items) > 10 { if len(rl.Items) == 0 || len(rl.Items) > 10 {
return []string{"wss://relay.damus.io", "wss://nos.lol"} return []string{"wss://relay.damus.io", "wss://nos.lol", "wss://relay.primal.net"}
} }
relays := make([]string, 0, n) relays := make([]string, 0, n)