From bd1568f4e4d2ba00fa64d5cd41a2c5583269f49a Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 20 Jan 2022 13:54:25 -0700 Subject: [PATCH] Un-break crypto for soft logout --- src/Lifecycle.ts | 7 ++++++- src/MatrixClientPeg.ts | 8 ++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/Lifecycle.ts b/src/Lifecycle.ts index b4f48ec511..de73fcc051 100644 --- a/src/Lifecycle.ts +++ b/src/Lifecycle.ts @@ -516,7 +516,7 @@ export async function setLoggedIn(credentials: IMatrixClientCreds): Promise { +export async function hydrateSession(credentials: IMatrixClientCreds): Promise { const oldUserId = MatrixClientPeg.get().getUserId(); const oldDeviceId = MatrixClientPeg.get().getDeviceId(); @@ -529,6 +529,11 @@ export function hydrateSession(credentials: IMatrixClientCreds): Promise