This repository has been archived on 2022-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
|
export default class RoomStateStore {
|
|
constructor(idbStore) {
|
|
this._roomStateStore = idbStore;
|
|
}
|
|
|
|
async getEvents(type) {
|
|
|
|
}
|
|
|
|
async getEventsForKey(type, stateKey) {
|
|
|
|
}
|
|
|
|
async setStateEvent(roomId, event) {
|
|
return this._roomStateStore.put({roomId, event});
|
|
}
|
|
} |