hydrogen-web/src/room/room.js

20 lines
346 B
JavaScript
Raw Normal View History

2018-12-21 19:05:24 +05:30
class Room {
constructor(roomId, storage, storedSummary) {
2018-12-21 19:05:24 +05:30
this._roomId = roomId;
this._storage = storage;
this._summary = new RoomSummary(this._roomId, this._storage, storedSummary);
2018-12-21 19:05:24 +05:30
}
async applyInitialSync(roomResponse, membership) {
}
async applyIncrementalSync(roomResponse, membership) {
}
async loadFromStorage() {
}
}