You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
lint
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user