mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
electron-main: Enable encryption for Seshat.
This commit is contained in:
parent
e9352fca9a
commit
b90a94bdd9
1 changed files with 1 additions and 2 deletions
|
@ -256,8 +256,7 @@ ipcMain.on('seshat', async function(ev, payload) {
|
||||||
let p = path.normalize(path.join(eventStorePath, args[0]));
|
let p = path.normalize(path.join(eventStorePath, args[0]));
|
||||||
try {
|
try {
|
||||||
await makeDir(p);
|
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");
|
console.log("Initialized event store");
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
sendError(payload.id, e);
|
sendError(payload.id, e);
|
||||||
|
|
Loading…
Reference in a new issue