This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/web/account/log-in-form.react.js b/web/account/log-in-form.react.js | |
index 2391e23b2..01c8ec3ce 100644 | |
--- a/web/account/log-in-form.react.js | |
+++ b/web/account/log-in-form.react.js | |
@@ -47,6 +47,8 @@ function LoginForm(): React.Node { | |
const identityAccount = new olm.Account(); | |
identityAccount.create(); | |
+ identityAccount.generate_prekey(); | |
+ console.log(identityAccount.prekey()); | |
const { ed25519: identityED25519, curve25519: identityCurve25519 } = | |
JSON.parse(identityAccount.identity_keys()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment