mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
electron-main: Use a capital letter for the seshat import.
This commit is contained in:
parent
94196eb11b
commit
a6839afc1f
@ -39,7 +39,7 @@ const { migrateFromOldOrigin } = require('./originMigrator');
|
||||
|
||||
const windowStateKeeper = require('electron-window-state');
|
||||
const Store = require('electron-store');
|
||||
const seshat = require('seshat-node');
|
||||
const Seshat = require('seshat-node');
|
||||
const makeDir = require('make-dir');
|
||||
|
||||
if (argv["help"]) {
|
||||
@ -223,7 +223,7 @@ ipcMain.on('ipcCall', async function(ev, payload) {
|
||||
let p = path.normalize(path.join(eventStorePath, args[0]));
|
||||
try {
|
||||
await makeDir(p);
|
||||
eventIndex = new seshat(p);
|
||||
eventIndex = new Seshat(p);
|
||||
console.log("Initialized event store");
|
||||
} catch (e) {
|
||||
sendError(payload.id, e);
|
||||
|
Loading…
Reference in New Issue
Block a user