You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +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:
@@ -51,6 +51,7 @@ module.exports.DECRYPTION_CLASSES = {};
|
||||
* @param {module:crypto/OlmDevice} params.olmDevice olm.js wrapper
|
||||
* @param {module:base-apis~MatrixBaseApis} baseApis base matrix api interface
|
||||
* @param {string} params.roomId The ID of the room we will be sending to
|
||||
* @param {object} params.config The body of the m.room.encryption event
|
||||
*/
|
||||
var EncryptionAlgorithm = function(params) {
|
||||
this._userId = params.userId;
|
||||
|
||||
Reference in New Issue
Block a user