From 950273da41a2cb88fe02993d7d57afb1b4440dd8 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Wed, 1 Nov 2023 23:10:29 +0000 Subject: [PATCH] If you can get all identities, you might as well be able to see the identities of the owner of a package. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4594 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- core/core.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/core.js b/core/core.js index f8505102..10981c41 100644 --- a/core/core.js +++ b/core/core.js @@ -391,6 +391,11 @@ async function getProcessBlob(blobId, key, options) { return ssb.createIdentity(process.credentials.session.name); } }; + imports.ssb.getOwnerIdentities = function() { + if (options.packageOwner) { + return ssb.getIdentities(options.packageOwner); + } + }; imports.ssb.getIdentities = function() { if (process.credentials && process.credentials.session &&