mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 14:38:21 +00:00
Import Seshat from matrix-seshat
This commit is contained in:
@@ -46,7 +46,7 @@ const afs = fs.promises;
|
|||||||
let Seshat = null;
|
let Seshat = null;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Seshat = require('matrix-seshat');
|
Seshat = require('matrix-seshat').Seshat;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e.code === "MODULE_NOT_FOUND") {
|
if (e.code === "MODULE_NOT_FOUND") {
|
||||||
console.log("Seshat isn't installed, event indexing is disabled.");
|
console.log("Seshat isn't installed, event indexing is disabled.");
|
||||||
|
|||||||
Reference in New Issue
Block a user