1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00
This commit is contained in:
David Baker
2018-10-09 15:46:12 +01:00
parent 59e6066579
commit ada4b6ef16
4 changed files with 13 additions and 7 deletions

View File

@@ -1032,7 +1032,9 @@ MatrixClient.prototype.restoreKeyBackups = function(
if (!roomData.sessions) continue;
totalKeyCount += Object.keys(roomData.sessions).length;
const roomKeys = keysFromRecoverySession(roomData.sessions, decryption, roomId, roomKeys);
const roomKeys = keysFromRecoverySession(
roomData.sessions, decryption, roomId, roomKeys,
);
for (const k of roomKeys) {
k.room_id = roomId;
keys.push(k);