diff --git a/dist/bundle.es.js b/dist/bundle.es.js index 3a76f8a..2a86c39 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -1334,7 +1334,7 @@ function doInstallNew(appVersion, os = null, firebaseToken = null, callbackForUs } lbryRedux.Lbry.status().then(status => { - payload.app_id = status.installation_id; + payload.app_id = domain && domain !== 'lbry.tv' ? (domain.replace(/[.]/gi, '') + status.installation_id).slice(0, 66) : status.installation_id; payload.node_id = status.lbry_id; lbryRedux.Lbry.version().then(version => { payload.daemon_version = version.lbrynet_version; diff --git a/dist/bundle.js b/dist/bundle.js index 3d658bd..0a64390 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -5047,7 +5047,7 @@ function doInstallNew(appVersion) { } lbry_redux__WEBPACK_IMPORTED_MODULE_0__["Lbry"].status().then(function (status) { - payload.app_id = status.installation_id; + payload.app_id = domain && domain !== 'lbry.tv' ? (domain.replace(/[.]/gi, '') + status.installation_id).slice(0, 66) : status.installation_id; payload.node_id = status.lbry_id; lbry_redux__WEBPACK_IMPORTED_MODULE_0__["Lbry"].version().then(function (version) { payload.daemon_version = version.lbrynet_version; diff --git a/src/redux/actions/user.js b/src/redux/actions/user.js index d2572b2..109820c 100644 --- a/src/redux/actions/user.js +++ b/src/redux/actions/user.js @@ -61,7 +61,10 @@ export function doInstallNew( } Lbry.status().then(status => { - payload.app_id = status.installation_id; + payload.app_id = + domain && domain !== 'lbry.tv' + ? (domain.replace(/[.]/gi, '') + status.installation_id).slice(0, 66) + : status.installation_id; payload.node_id = status.lbry_id; Lbry.version().then(version => { payload.daemon_version = version.lbrynet_version;