mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +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 {
|
class BackupRoomKey extends IncomingRoomKey {
|
||||||
private _roomId: string;
|
constructor(private _roomId: string, private _sessionId: string, private _backupInfo: object) {
|
||||||
private _sessionId: string;
|
|
||||||
private _backupInfo: string;
|
|
||||||
|
|
||||||
constructor(roomId, sessionId, backupInfo) {
|
|
||||||
super();
|
super();
|
||||||
this._roomId = roomId;
|
|
||||||
this._sessionId = sessionId;
|
|
||||||
this._backupInfo = backupInfo;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
get roomId() { return this._roomId; }
|
get roomId() { return this._roomId; }
|
||||||
|
Loading…
Reference in New Issue
Block a user