ElectronPlatform: Implement the isRoomIndexed method.

pull/13957/head
Damir Jelić 2020-06-08 16:41:55 +02:00
parent bf174e3f0f
commit a968389c85
1 changed files with 4 additions and 0 deletions

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