mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Merge branch 'poljar/delete-events' into develop
This commit is contained in:
commit
31faa4753c
1 changed files with 4 additions and 0 deletions
|
@ -122,6 +122,10 @@ class SeshatIndexManager extends BaseEventIndexManager {
|
|||
return this._ipcCall('addEventToIndex', ev, profile);
|
||||
}
|
||||
|
||||
async deleteEvent(eventId: string): Promise<boolean> {
|
||||
return this._ipcCall('deleteEvent', eventId);
|
||||
}
|
||||
|
||||
async isEventIndexEmpty(): Promise<boolean> {
|
||||
return this._ipcCall('isEventIndexEmpty');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue