1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00
This commit is contained in:
Zoe
2020-03-25 16:08:26 +00:00
parent 4d63c11f26
commit f891f3e9fa

View File

@@ -153,7 +153,7 @@ const onSecretRequested = async function({
const key = await callbacks.getCrossSigningKeyCache("self_signing"); const key = await callbacks.getCrossSigningKeyCache("self_signing");
if (!key) { if (!key) {
console.log( console.log(
`self_signing requested by ${deviceId}, but not found in cache` `self_signing requested by ${deviceId}, but not found in cache`,
); );
} }
return key && encodeBase64(key); return key && encodeBase64(key);
@@ -161,7 +161,7 @@ const onSecretRequested = async function({
const key = await callbacks.getCrossSigningKeyCache("user_signing"); const key = await callbacks.getCrossSigningKeyCache("user_signing");
if (!key) { if (!key) {
console.log( console.log(
`user_signing requested by ${deviceId}, but not found in cache` `user_signing requested by ${deviceId}, but not found in cache`,
); );
} }
return key && encodeBase64(key); return key && encodeBase64(key);
@@ -170,7 +170,7 @@ const onSecretRequested = async function({
const key = await client._crypto.getSessionBackupPrivateKey(); const key = await client._crypto.getSessionBackupPrivateKey();
if (!key) { if (!key) {
console.log( console.log(
`session backup key requested by ${deviceId}, but not found in cache` `session backup key requested by ${deviceId}, but not found in cache`,
); );
} }
return key && encodeBase64(key); return key && encodeBase64(key);