mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-08 00:46:05 +00:00
Don't use the devicename parameter when pairing anymore. It's not using since GFE 2.0.0 and it can cause problems if invalid characters get added to the URL
This commit is contained in:
@@ -100,8 +100,7 @@ public class NvHTTP {
|
||||
}
|
||||
|
||||
public int getSessionId() throws IOException, XmlPullParserException {
|
||||
InputStream in = openHttpConnection(baseUrl + "/pair?uniqueid=" + uniqueId
|
||||
+ "&devicename=" + deviceName);
|
||||
InputStream in = openHttpConnection(baseUrl + "/pair?uniqueid=" + uniqueId);
|
||||
String sessionId = getXmlString(in, "sessionid");
|
||||
return Integer.parseInt(sessionId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user