From 7c237c77dffdd76356f3b4d7cd12febaf0762a3d Mon Sep 17 00:00:00 2001 From: Paul Lietar Date: Mon, 15 May 2017 21:55:49 +0100 Subject: [PATCH] Change Connect mercury URL --- src/spirc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spirc.rs b/src/spirc.rs index efbe6aec..803a4135 100644 --- a/src/spirc.rs +++ b/src/spirc.rs @@ -125,7 +125,7 @@ impl Spirc { let ident = session.device_id().to_owned(); - let uri = format!("hm://remote/user/{}", session.username()); + let uri = format!("hm://remote/3/user/{}/", session.username()); let subscription = session.mercury().subscribe(&uri as &str); let subscription = subscription.map(|stream| stream.map_err(|_| MercuryError)).flatten_stream();