Push kvp to db

This commit is contained in:
Jiiks 2018-08-14 10:41:22 +03:00
parent 5711576a0d
commit 8d6cdafc23
1 changed files with 1 additions and 0 deletions

View File

@ -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;