mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-31 13:39:58 +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();
|
else ret = await eventIndex.isEmpty();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'isRoomIndexed':
|
||||||
|
if (eventIndex === null) ret = false;
|
||||||
|
else ret = await eventIndex.isRoomIndexed(args[0]);
|
||||||
|
break;
|
||||||
|
|
||||||
case 'addEventToIndex':
|
case 'addEventToIndex':
|
||||||
try {
|
try {
|
||||||
eventIndex.addEvent(args[0], args[1]);
|
eventIndex.addEvent(args[0], args[1]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user