From a3e294bb6011ecad16f0466a5ba167893a0a1223 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 25 Jan 2022 18:45:39 +0100 Subject: [PATCH] small cleanup --- src/matrix/e2ee/megolm/decryption/RoomKey.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/matrix/e2ee/megolm/decryption/RoomKey.ts b/src/matrix/e2ee/megolm/decryption/RoomKey.ts index 2cb65b33..299b0a81 100644 --- a/src/matrix/e2ee/megolm/decryption/RoomKey.ts +++ b/src/matrix/e2ee/megolm/decryption/RoomKey.ts @@ -148,15 +148,8 @@ class DeviceMessageRoomKey extends IncomingRoomKey { } class BackupRoomKey extends IncomingRoomKey { - private _roomId: string; - private _sessionId: string; - private _backupInfo: string; - - constructor(roomId, sessionId, backupInfo) { + constructor(private _roomId: string, private _sessionId: string, private _backupInfo: object) { super(); - this._roomId = roomId; - this._sessionId = sessionId; - this._backupInfo = backupInfo; } get roomId() { return this._roomId; }