port over low_bandwidth mode to develop

This commit is contained in:
Matthew Hodgson 2019-02-08 16:44:03 +00:00
parent a6914274b0
commit ce24165e19
8 changed files with 30 additions and 6 deletions

View file

@ -115,7 +115,7 @@ class MatrixClientPeg {
// try to initialise e2e on the new client
try {
// check that we have a version of the js-sdk which includes initCrypto
if (this.matrixClient.initCrypto) {
if (!SettingsStore.getValue("lowBandwidth") && this.matrixClient.initCrypto) {
await this.matrixClient.initCrypto();
}
} catch (e) {