Skip to main content

parse_bunker_relays

Function parse_bunker_relays 

Source
pub fn parse_bunker_relays(bunker_url: &str) -> Vec<String>
Expand description

Parse a bunker:// URL and return the relay URLs it lists. Used by the Settings UI to render “Connected via ” without re-bootstrapping. Returns an empty Vec on any parse failure — the caller treats this as a display-only signal and renders a generic fallback instead of erroring.