Push kvp to db
This commit is contained in:
parent
5711576a0d
commit
8d6cdafc23
|
@ -144,6 +144,7 @@ export default new class E2EE extends BuiltinModule {
|
||||||
WebpackModules.getModuleByName('DraftActions').saveDraft(channelId, publicKeyMessage);
|
WebpackModules.getModuleByName('DraftActions').saveDraft(channelId, publicKeyMessage);
|
||||||
}
|
}
|
||||||
const secret = this.computeSecret(channelId, key);
|
const secret = this.computeSecret(channelId, key);
|
||||||
|
this.setKey(channelId, secret);
|
||||||
Toasts.success('Key exchange complete!');
|
Toasts.success('Key exchange complete!');
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue