Skip to content

Instantly share code, notes, and snippets.

Created March 17, 2023 01:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Ashoat/df2403cd0acb875a90cc93578ac6a329 to your computer and use it in GitHub Desktop.
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.generate_prekey();
+ console.log(identityAccount.prekey());
const { ed25519: identityED25519, curve25519: identityCurve25519 } =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment