1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-09 10:22:46 +03:00

Merge pull request #344 from matrix-org/rav/allow_e2e_options

Record all e2e room settings in localstorage
This commit is contained in:
Richard van der Hoff
2017-01-30 16:26:23 +00:00
committed by GitHub

View File

@@ -822,10 +822,6 @@ Crypto.prototype.setRoomEncryption = function(roomId, config) {
throw new Error("Unable to encrypt with " + config.algorithm);
}
// remove spurious keys
config = {
algorithm: config.algorithm,
};
this._sessionStore.storeEndToEndRoom(roomId, config);
const alg = new AlgClass({