From 20a89d67cbf263aed3539cf6981ac30643c3d786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Thu, 12 Mar 2020 11:50:49 +0100 Subject: [PATCH] ElectronPlatform: Add support to remove events from the event index. --- src/vector/platform/ElectronPlatform.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vector/platform/ElectronPlatform.js b/src/vector/platform/ElectronPlatform.js index 0d644aa42e..b6825bca04 100644 --- a/src/vector/platform/ElectronPlatform.js +++ b/src/vector/platform/ElectronPlatform.js @@ -122,6 +122,10 @@ class SeshatIndexManager extends BaseEventIndexManager { return this._ipcCall('addEventToIndex', ev, profile); } + async deleteEvent(eventId: string): Promise { + return this._ipcCall('deleteEvent', eventId); + } + async isEventIndexEmpty(): Promise { return this._ipcCall('isEventIndexEmpty'); }