mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Merge remote-tracking branch 'origin/poljar/eventindex-newly-encrypted-room' into develop
This commit is contained in:
commit
c1646e882a
@ -505,6 +505,11 @@ ipcMain.on('seshat', async function(ev, payload) {
|
||||
else ret = await eventIndex.isEmpty();
|
||||
break;
|
||||
|
||||
case 'isRoomIndexed':
|
||||
if (eventIndex === null) ret = false;
|
||||
else ret = await eventIndex.isRoomIndexed(args[0]);
|
||||
break;
|
||||
|
||||
case 'addEventToIndex':
|
||||
try {
|
||||
eventIndex.addEvent(args[0], args[1]);
|
||||
|
Loading…
Reference in New Issue
Block a user