File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -573,15 +573,12 @@ export class BackupManager {
573573
574574export class Curve25519 implements BackupAlgorithm {
575575 public static algorithmName = "m.megolm_backup.v1.curve25519-aes-sha2" ;
576- public authData : ICurve25519AuthData ;
577576
578577 constructor (
579- authData : AuthData ,
578+ public authData : ICurve25519AuthData ,
580579 private publicKey : any , // FIXME: PkEncryption
581580 private getKey : ( ) => Promise < Uint8Array > ,
582- ) {
583- this . authData = authData as ICurve25519AuthData ;
584- }
581+ ) { }
585582
586583 public static async init (
587584 authData : AuthData ,
@@ -707,14 +704,11 @@ const UNSTABLE_MSC3270_NAME = new UnstableValue(null, "org.matrix.msc3270.v1.aes
707704
708705export class Aes256 implements BackupAlgorithm {
709706 public static algorithmName = UNSTABLE_MSC3270_NAME . name ;
710- public readonly authData : IAes256AuthData ;
711707
712708 constructor (
713- authData : AuthData ,
709+ public readonly authData : IAes256AuthData ,
714710 private readonly key : Uint8Array ,
715- ) {
716- this . authData = authData as IAes256AuthData ;
717- }
711+ ) { }
718712
719713 public static async init (
720714 authData : IAes256AuthData ,
You can’t perform that action at this time.
0 commit comments