mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
electron-main: Enable encryption for Seshat.
This commit is contained in:
parent
e9352fca9a
commit
b90a94bdd9
@ -256,8 +256,7 @@ ipcMain.on('seshat', 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, {passphrase: "DEFAULT_PASSPHRASE"});
|
||||
eventIndex = new Seshat(p, {passphrase: "DEFAULT_PASSPHRASE"});
|
||||
console.log("Initialized event store");
|
||||
} catch (e) {
|
||||
sendError(payload.id, e);
|
||||
|
Loading…
Reference in New Issue
Block a user