small cleanup

This commit is contained in:
Bruno Windels 2022-01-25 18:45:39 +01:00
parent 5d87d8bde3
commit a3e294bb60

View File

@ -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; }