From 5350c5e551120a405e19149ae3ab70d4a9378720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= <poljar@termina.org.uk> Date: Tue, 13 Oct 2020 16:36:38 +0200 Subject: [PATCH] electron-platform: Pass the user/devce id pair when initializing the event index. --- src/vector/platform/ElectronPlatform.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index 1ce7eefde3..ab3fc153c1 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/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> {