You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
Check sigs on e2e backup & enable it if we can
This commit is contained in:
@@ -849,6 +849,8 @@ MegolmDecryption.prototype.onRoomKeyEvent = function(event) {
|
||||
this._retryDecryption(senderKey, sessionId);
|
||||
}).then(() => {
|
||||
if (this._crypto.backupInfo) {
|
||||
// XXX: No retries on this at all: if this request dies for whatever
|
||||
// reason, this key will never be uploaded.
|
||||
return this._crypto.backupGroupSession(
|
||||
content.room_id, senderKey, forwardingKeyChain,
|
||||
content.session_id, content.session_key, keysClaimed,
|
||||
|
||||
Reference in New Issue
Block a user