From 3f70f532b7217952c69583defef73815521b0f0b Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 5 Jun 2017 09:24:59 +0100 Subject: [PATCH] Update README.md lack of olm is a warning, not an exception --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f39f207cb..48f0abf2c 100644 --- a/README.md +++ b/README.md @@ -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