From e14329b3e008c4b5b96363d602a3eb32e6a0f367 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sun, 26 Jul 2026 18:46:18 +0200 Subject: [PATCH] feat: use stable community-provided iroh relay instead of N0's public one for now that's nine.testrun.org because it's reliable and has a clear privacy statement. --- src/peer_channels.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/peer_channels.rs b/src/peer_channels.rs index 0ad5a8e65..5279d8af2 100644 --- a/src/peer_channels.rs +++ b/src/peer_channels.rs @@ -248,9 +248,12 @@ impl Context { { RelayMode::Custom(RelayUrl::from(relay_url).into()) } else { - // FIXME: this should be RelayMode::Disabled instead. - // Currently using default relays because otherwise Rust tests fail. - RelayMode::Default + // FIXME: this should be RelayMode::Disabled instead once + // - multi-relay usage is more common so "no-iroh-relay" is rare + // - tests can deal with it (best after Iroh 1.0 upgrade) + // For now, if the chatmail relay does not announce an iroh relay, + // fall back to a stable community operated Iroh 0.35 relay. + RelayMode::Custom(RelayUrl::from(Url::parse("https://nine.testrun.org")?).into()) }; let endpoint = Endpoint::builder()