pull/21833/head
Zoe 2020-03-25 16:08:26 +00:00
parent 4d63c11f26
commit f891f3e9fa
1 changed files with 3 additions and 3 deletions

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);