Fix picklekey debug (#12845)

https://github.com/matrix-org/matrix-react-sdk/pull/12831 added some logging,
but I messed it up
This commit is contained in:
Richard van der Hoff 2024-07-30 18:21:43 +01:00 committed by GitHub
parent 02047243f0
commit bc21ed3010
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -587,7 +587,7 @@ export async function restoreFromLocalStorage(opts?: { ignoreGuest?: boolean }):
const pickleKey = (await PlatformPeg.get()?.getPickleKey(userId, deviceId ?? "")) ?? undefined;
if (pickleKey) {
logger.log("Got pickle key for ${userId}|${deviceId}");
logger.log(`Got pickle key for ${userId}|${deviceId}`);
} else {
logger.log("No pickle key available");
}