You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
lint
This commit is contained in:
@@ -875,9 +875,8 @@ MatrixClient.prototype.prepareKeyBackupVersion = async function(password) {
|
||||
|
||||
const decryption = new global.Olm.PkDecryption();
|
||||
try {
|
||||
let privateKey;
|
||||
let publicKey;
|
||||
let authData = {};
|
||||
const authData = {};
|
||||
if (password) {
|
||||
const keyInfo = await keyForNewBackup(password);
|
||||
publicKey = decryption.init_with_private_key(keyInfo.key);
|
||||
|
||||
Reference in New Issue
Block a user