Commit fdf25eb3 authored by Matthew Hodgson's avatar Matthew Hodgson

spell out error msg if you don't Olm.init

parent 83bf351a
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment