You've already forked matrix-js-sdk
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:
committed by
GitHub
parent
6ba214a259
commit
3f70f532b7
@@ -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](http://matrix.org/git/olm). It is left up to the application to make
|
||||||
libolm available, via the ``Olm`` global.
|
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
|
The SDK will continue to work for unencrypted rooms, but it will not support
|
||||||
|
|||||||
Reference in New Issue
Block a user