mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
ElectronPlatform: Implement the isRoomIndexed method.
This commit is contained in:
parent
bf174e3f0f
commit
a968389c85
@ -153,6 +153,10 @@ class SeshatIndexManager extends BaseEventIndexManager {
|
|||||||
return this._ipcCall('isEventIndexEmpty');
|
return this._ipcCall('isEventIndexEmpty');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async isRoomIndexed(roomId: string): Promise<boolean> {
|
||||||
|
return this._ipcCall('isRoomIndexed', roomId);
|
||||||
|
}
|
||||||
|
|
||||||
async commitLiveEvents(): Promise<void> {
|
async commitLiveEvents(): Promise<void> {
|
||||||
return this._ipcCall('commitLiveEvents');
|
return this._ipcCall('commitLiveEvents');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user