diff options
author | Matthew Hodgson <matthew@matrix.org> | 2020-05-16 17:10:18 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2020-05-16 17:10:18 +0100 |
commit | fdf25eb3ba31d4c57d50f70a1dacae6fc1c00959 (patch) | |
tree | 8e7581e4bd08d9083326fcb827d85ea50be5b43b /javascript/README.md | |
parent | 83bf351a34a65edb7ab9eaf4251b197cbeedb159 (diff) |
spell out error msg if you don't Olm.init
Diffstat (limited to 'javascript/README.md')
-rw-r--r-- | javascript/README.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/javascript/README.md b/javascript/README.md index d2f1d72..bdf0224 100644 --- a/javascript/README.md +++ b/javascript/README.md @@ -2,7 +2,8 @@ Olm === Note: before using any of the olm functions, you must call `Olm.init()`, and -wait for the promise to resolve. +wait for the promise to resolve, otherwise you will get errors like: +`Uncaught TypeError: Olm.Account is not a constructor` Example: |