core: parentApp hasn't been a thing in a long while.

This commit is contained in:
2025-12-06 14:30:30 -05:00
parent 6381ba6785
commit 2b191a5345
2 changed files with 0 additions and 11 deletions

View File

@@ -111,7 +111,6 @@ exports.app_socket = async function socket(request, response) {
let packageName;
let blobId;
let match;
let parentApp;
if (
(match = /^\/([&%][^\.]{44}(?:\.\w+)?)(\/?.*)/.exec(message.path))
) {
@@ -132,13 +131,6 @@ exports.app_socket = async function socket(request, response) {
);
return;
}
if (packageOwner != 'core') {
let coreId = await new Database('core').get('path:' + packageName);
parentApp = {
path: '/~core/' + packageName + '/',
id: coreId,
};
}
}
response.send(
JSON.stringify(
@@ -146,7 +138,6 @@ exports.app_socket = async function socket(request, response) {
{
action: 'session',
credentials: credentials,
parentApp: parentApp,
id: blobId,
},
await ssb_internal.getIdentityInfo(