Fix picklekey debug (#12845)
https://github.com/matrix-org/matrix-react-sdk/pull/12831 added some logging, but I messed it uppull/24763/head
parent
02047243f0
commit
bc21ed3010
|
|
@ -587,7 +587,7 @@ export async function restoreFromLocalStorage(opts?: { ignoreGuest?: boolean }):
|
||||||
|
|
||||||
const pickleKey = (await PlatformPeg.get()?.getPickleKey(userId, deviceId ?? "")) ?? undefined;
|
const pickleKey = (await PlatformPeg.get()?.getPickleKey(userId, deviceId ?? "")) ?? undefined;
|
||||||
if (pickleKey) {
|
if (pickleKey) {
|
||||||
logger.log("Got pickle key for ${userId}|${deviceId}");
|
logger.log(`Got pickle key for ${userId}|${deviceId}`);
|
||||||
} else {
|
} else {
|
||||||
logger.log("No pickle key available");
|
logger.log("No pickle key available");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue