Skip to content
Snippets Groups Projects
Commit fdf25eb3 authored by Matthew Hodgson's avatar Matthew Hodgson
Browse files

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

parent 83bf351a
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment