electron-platform: Pass the user/devce id pair when initializing the event index.

pull/15455/head
Damir Jelić 2 years ago
parent f8e84c42ad
commit 5350c5e551
  1. 4
      src/vector/platform/ElectronPlatform.tsx

@ -140,8 +140,8 @@ class SeshatIndexManager extends BaseEventIndexManager {
return this._ipcCall('supportsEventIndexing');
}
async initEventIndex(): Promise<void> {
return this._ipcCall('initEventIndex');
async initEventIndex(user_id: string, device_id: string): Promise<void> {
return this._ipcCall('initEventIndex', user_id, device_id);
}
async addEventToIndex(ev: MatrixEvent, profile: MatrixProfile): Promise<void> {

Loading…
Cancel
Save