From 95db2d943c4deb097ce040e856eae88ad4717493 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Fri, 26 Jul 2024 14:37:29 +0100 Subject: [PATCH] Add some logging to pickle key save/restore (#12831) ... 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