Skip to content

Commit 20a89d6

Browse files
committed
ElectronPlatform: Add support to remove events from the event index.
1 parent 71f2f0e commit 20a89d6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/vector/platform/ElectronPlatform.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ class SeshatIndexManager extends BaseEventIndexManager {
122122
return this._ipcCall('addEventToIndex', ev, profile);
123123
}
124124

125+
async deleteEvent(eventId: string): Promise<boolean> {
126+
return this._ipcCall('deleteEvent', eventId);
127+
}
128+
125129
async isEventIndexEmpty(): Promise<boolean> {
126130
return this._ipcCall('isEventIndexEmpty');
127131
}

0 commit comments

Comments
 (0)