From c5f7059161223dfd96a718109bfb3b396539767b Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 19 Oct 2023 17:12:24 -0400 Subject: [PATCH] fix: call savePortalSessions before kernel load --- src/kernel.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kernel.ts b/src/kernel.ts index 5fa498e..91c934e 100644 --- a/src/kernel.ts +++ b/src/kernel.ts @@ -2,6 +2,7 @@ import { downloadSmallObject, maybeInitDefaultPortals, savePortals, + savePortalSessions, setActivePortalMasterKey, } from "@lumeweb/libweb"; import { log, logErr, sendAuthUpdate } from "./util.js"; @@ -67,6 +68,7 @@ export async function loadKernel() { } savePortals(); + savePortalSessions(); try { await new Promise(async (resolve, reject) => {