mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
small cleanup
This commit is contained in:
parent
5d87d8bde3
commit
a3e294bb60
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user