From 05a7af8db165f23eddf26f1eabb9a4c8c3ab3144 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Wed, 13 May 2020 19:05:19 -0400 Subject: add a note about calling Olm.init --- javascript/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/javascript/README.md b/javascript/README.md index 6ed9bbb..d2f1d72 100644 --- a/javascript/README.md +++ b/javascript/README.md @@ -1,6 +1,9 @@ Olm === +Note: before using any of the olm functions, you must call `Olm.init()`, and +wait for the promise to resolve. + Example: var alice = new Olm.Account(); -- cgit v1.2.3