forked from mystiq/hydrogen-web
log key backup upload requests
This commit is contained in:
parent
bf08c0d850
commit
0b4954a9ca
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ export class KeyBackup {
|
||||||
const roomKeys = roomKeysOrNotFound.filter(k => !!k) as RoomKey[];
|
const roomKeys = roomKeysOrNotFound.filter(k => !!k) as RoomKey[];
|
||||||
if (roomKeys.length) {
|
if (roomKeys.length) {
|
||||||
const payload = await this.encodeKeysForBackup(roomKeys);
|
const payload = await this.encodeKeysForBackup(roomKeys);
|
||||||
const uploadRequest = this.hsApi.uploadRoomKeysToBackup(this.backupInfo.version, payload);
|
const uploadRequest = this.hsApi.uploadRoomKeysToBackup(this.backupInfo.version, payload, {log});
|
||||||
setAbortable(uploadRequest);
|
setAbortable(uploadRequest);
|
||||||
await uploadRequest.response();
|
await uploadRequest.response();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue