mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
electron-platform: Pass the user/devce id pair when initializing the event index.
This commit is contained in:
parent
f8e84c42ad
commit
5350c5e551
@ -140,8 +140,8 @@ class SeshatIndexManager extends BaseEventIndexManager {
|
|||||||
return this._ipcCall('supportsEventIndexing');
|
return this._ipcCall('supportsEventIndexing');
|
||||||
}
|
}
|
||||||
|
|
||||||
async initEventIndex(): Promise<void> {
|
async initEventIndex(user_id: string, device_id: string): Promise<void> {
|
||||||
return this._ipcCall('initEventIndex');
|
return this._ipcCall('initEventIndex', user_id, device_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
async addEventToIndex(ev: MatrixEvent, profile: MatrixProfile): Promise<void> {
|
async addEventToIndex(ev: MatrixEvent, profile: MatrixProfile): Promise<void> {
|
||||||
|
Loading…
Reference in New Issue
Block a user