forked from matrix/element-web
Import Seshat from matrix-seshat
This commit is contained in:
parent
add2458a45
commit
8e129bb9ca
electron_app/src
|
@ -46,7 +46,7 @@ const afs = fs.promises;
|
|||
let Seshat = null;
|
||||
|
||||
try {
|
||||
Seshat = require('matrix-seshat');
|
||||
Seshat = require('matrix-seshat').Seshat;
|
||||
} catch (e) {
|
||||
if (e.code === "MODULE_NOT_FOUND") {
|
||||
console.log("Seshat isn't installed, event indexing is disabled.");
|
||||
|
|
Loading…
Reference in New Issue