You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
lint
This commit is contained in:
@@ -601,6 +601,7 @@ export class Curve25519 implements BackupAlgorithm {
|
||||
const backupPubKey = decryption.init_with_private_key(privKey);
|
||||
|
||||
if (backupPubKey !== this.authData.public_key) {
|
||||
// eslint-disable-next-line no-throw-literal
|
||||
throw {errcode: MatrixClient.RESTORE_BACKUP_ERROR_BAD_KEY};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user