Change Connect mercury URL

This commit is contained in:
Paul Lietar 2017-05-15 21:55:49 +01:00
parent ba51b8f236
commit 7c237c77df

View file

@ -125,7 +125,7 @@ impl Spirc {
let ident = session.device_id().to_owned(); 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 = session.mercury().subscribe(&uri as &str);
let subscription = subscription.map(|stream| stream.map_err(|_| MercuryError)).flatten_stream(); let subscription = subscription.map(|stream| stream.map_err(|_| MercuryError)).flatten_stream();