mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 21:27:43 +02:00
fix(Spoof streaming data): Specify language code only for clients that cannot log in
This commit is contained in:
@ -53,7 +53,9 @@ public final class PlayerRoutes {
|
||||
client.put("deviceMake", "Apple");
|
||||
client.put("osName", "iOS");
|
||||
}
|
||||
client.put("hl", LOCALE_LANGUAGE);
|
||||
if (!clientType.canLogin) {
|
||||
client.put("hl", LOCALE_LANGUAGE);
|
||||
}
|
||||
|
||||
JSONObject context = new JSONObject();
|
||||
context.put("client", client);
|
||||
|
Reference in New Issue
Block a user