You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-01 04:43:29 +03:00
Rotate megolm sessions
In order to mitigate backward-secrecy concerns, make sure that we rotate the outbound megolm session at regular intervals (every week/100 msgs by default).
This commit is contained in:
@@ -716,6 +716,7 @@ Crypto.prototype.setRoomEncryption = function(roomId, config) {
|
||||
olmDevice: this._olmDevice,
|
||||
baseApis: this._baseApis,
|
||||
roomId: roomId,
|
||||
config: config,
|
||||
});
|
||||
this._roomAlgorithms[roomId] = alg;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user