spell out error msg if you don't Olm.init
This commit is contained in:
parent
83bf351a34
commit
fdf25eb3ba
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue