ElectronPlatform: Implement the isRoomIndexed method.

This commit is contained in:
Damir Jelić 2020-06-08 16:41:55 +02:00
parent bf174e3f0f
commit a968389c85

View File

@ -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');
} }