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
Make multi-room key restore work
This commit is contained in:
@@ -851,6 +851,8 @@ MegolmDecryption.prototype.onRoomKeyEvent = function(event) {
|
||||
if (this._crypto.backupInfo) {
|
||||
// XXX: No retries on this at all: if this request dies for whatever
|
||||
// reason, this key will never be uploaded.
|
||||
// More XXX: If this fails it'll cause the message send to fail,
|
||||
// and this will happen if the backup is deleted from another client.
|
||||
return this._crypto.backupGroupSession(
|
||||
content.room_id, senderKey, forwardingKeyChain,
|
||||
content.session_id, content.session_key, keysClaimed,
|
||||
|
||||
Reference in New Issue
Block a user