From 8d6cdafc237e76df0826502650c4f3c8daba0890 Mon Sep 17 00:00:00 2001 From: Jiiks Date: Tue, 14 Aug 2018 10:41:22 +0300 Subject: [PATCH] Push kvp to db --- client/src/builtin/E2EE.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/builtin/E2EE.js b/client/src/builtin/E2EE.js index fdd9118e..3241e016 100644 --- a/client/src/builtin/E2EE.js +++ b/client/src/builtin/E2EE.js @@ -144,6 +144,7 @@ export default new class E2EE extends BuiltinModule { WebpackModules.getModuleByName('DraftActions').saveDraft(channelId, publicKeyMessage); } const secret = this.computeSecret(channelId, key); + this.setKey(channelId, secret); Toasts.success('Key exchange complete!'); } catch (err) { return;