mirror of https://git.matrix.org/git/olm.git
spell out error msg if you don't Olm.init
parent
83bf351a34
commit
fdf25eb3ba
|
@ -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 New Issue