Compare commits

..

No commits in common. "97df32482850b3d4b031d66352f8d747717cb1fa" and "5760148afc31e23f80cf46d37ca1f40d57fe5db8" have entirely different histories.

1 changed files with 2 additions and 3 deletions

View File

@ -50,8 +50,8 @@ export function generatePortalKeyPair(portal: Portal): KeyPair {
};
}
export function getActivePortals(): Client[] {
return [...ACTIVE_PORTALS];
export function getActivePortals(): Set<Client> {
return ACTIVE_PORTALS;
}
export function addActivePortal(portal: Client) {
@ -76,7 +76,6 @@ export function initPortal(portal: Portal) {
addActivePortal(client);
}
export function getPortalSessions() {
let portalSessionsData = window.localStorage.getItem("portals");
let portalSessions: PortalSessionsStore = {};