commit fd57c234fedb084d52739643b0efaa39d48aa8d9
parent ff67e8736df6694a0c38aacf9485a3c877528164
Author: William Casarin <jb55@jb55.com>
Date: Tue, 17 Feb 2026 13:59:00 -0800
fix PNS relay URL trailing slash mismatch
pool.add_url() canonicalizes URLs (adding trailing slash), but
pool.send_to() compares against the raw constant without one.
Every PNS publish and subscribe silently failed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crates/notedeck_dave/src/lib.rs b/crates/notedeck_dave/src/lib.rs
@@ -60,7 +60,7 @@ pub use vec3::Vec3;
/// Relay URL used for PNS event publishing and subscription.
/// TODO: make this configurable in the UI
-const PNS_RELAY_URL: &str = "ws://relay.jb55.com";
+const PNS_RELAY_URL: &str = "ws://relay.jb55.com/";
/// Extract a 32-byte secret key from a keypair.
fn secret_key_bytes(keypair: KeypairUnowned<'_>) -> Option<[u8; 32]> {