diff --git a/app/src/main/java/com/odysee/app/callable/UserSignin.java b/app/src/main/java/com/odysee/app/callable/UserSignin.java index 3d72fabb..bf45008b 100644 --- a/app/src/main/java/com/odysee/app/callable/UserSignin.java +++ b/app/src/main/java/com/odysee/app/callable/UserSignin.java @@ -30,6 +30,7 @@ public UserSignin(Context ctx, Map options) { @Override public Boolean call() throws Exception { try { + options.put("domain", "odysee.com"); Response responseSignIn = Lbryio.call("user", "signin", options, Helper.METHOD_POST, ctx); if (responseSignIn.isSuccessful()) { ResponseBody responseBody = responseSignIn.body(); diff --git a/app/src/main/java/com/odysee/app/utils/Lbryio.java b/app/src/main/java/com/odysee/app/utils/Lbryio.java index 9bf462ec..e4601df5 100644 --- a/app/src/main/java/com/odysee/app/utils/Lbryio.java +++ b/app/src/main/java/com/odysee/app/utils/Lbryio.java @@ -279,6 +279,7 @@ public static void newInstall(Context context) { options.put("node_id", ""); options.put("operating_system", "android"); options.put("platform", String.format("Android %s (API %d)", Build.VERSION.RELEASE, Build.VERSION.SDK_INT)); + options.put("domain", "odysee.com"); try { JSONObject response = (JSONObject) parseResponse(call("install", "new", options, Helper.METHOD_POST, context)); } catch (LbryioRequestException | LbryioResponseException | ClassCastException ex) {