1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Update README.md

lack of olm is a warning, not an exception
This commit is contained in:
Richard van der Hoff
2017-06-05 09:24:59 +01:00
committed by GitHub
parent 6ba214a259
commit 3f70f532b7

View File

@@ -245,10 +245,10 @@ The SDK supports end-to-end encryption via the Olm and Megolm protocols, using
[libolm](http://matrix.org/git/olm). It is left up to the application to make
libolm available, via the ``Olm`` global.
If the ``Olm`` global is not available, the SDK will throw an error:
If the ``Olm`` global is not available, the SDK will show a warning:
```
Unable to load crypto module: crypto will be disabled: Error: global.Olm is not defined
Unable to load crypto module: crypto will be disabled: Error: global.Olm is not defined
```
The SDK will continue to work for unencrypted rooms, but it will not support