From 1a402906489140390f3405692f5564268ef4cc5a Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Fri, 26 Jul 2024 13:57:13 +0100 Subject: [PATCH] Add some logging to pickle key save/restore ... in an attempt to diagnose https://github.com/element-hq/element-desktop/issues/1077 --- src/Lifecycle.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Lifecycle.ts b/src/Lifecycle.ts index e2141cd94da..f2cc7e57f19 100644 --- a/src/Lifecycle.ts +++ b/src/Lifecycle.ts @@ -586,7 +586,7 @@ export async function restoreFromLocalStorage(opts?: { ignoreGuest?: boolean }): const pickleKey = (await PlatformPeg.get()?.getPickleKey(userId, deviceId ?? "")) ?? undefined; if (pickleKey) { - logger.log("Got pickle key"); + logger.log("Got pickle key for ${userId}|${deviceId}"); } else { logger.log("No pickle key available"); } @@ -658,7 +658,7 @@ export async function setLoggedIn(credentials: IMatrixClientCreds): Promise