mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-20 13:11:12 +02:00
ElectronPlatform: Add support to remove events from the event index.
This commit is contained in:
parent
71f2f0e7c9
commit
20a89d67cb
@ -122,6 +122,10 @@ class SeshatIndexManager extends BaseEventIndexManager {
|
|||||||
return this._ipcCall('addEventToIndex', ev, profile);
|
return this._ipcCall('addEventToIndex', ev, profile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async deleteEvent(eventId: string): Promise<boolean> {
|
||||||
|
return this._ipcCall('deleteEvent', eventId);
|
||||||
|
}
|
||||||
|
|
||||||
async isEventIndexEmpty(): Promise<boolean> {
|
async isEventIndexEmpty(): Promise<boolean> {
|
||||||
return this._ipcCall('isEventIndexEmpty');
|
return this._ipcCall('isEventIndexEmpty');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user