Merge pull request #291 from forslund/uri-tweak-for-load-issue

Update subscription uri
This commit is contained in:
Sasha Hilton 2019-02-22 14:28:54 +00:00 committed by GitHub
commit daeeeaa122
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -214,7 +214,8 @@ impl Spirc {
let ident = session.device_id().to_owned();
let uri = format!("hm://remote/3/user/{}/", session.username());
// Uri updated in response to issue #288
let uri = format!("hm://remote/user/{}/", session.username());
let subscription = session.mercury().subscribe(&uri as &str);
let subscription = subscription