mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
log key backup upload requests
This commit is contained in:
parent
bf08c0d850
commit
0b4954a9ca
@ -93,7 +93,7 @@ export class KeyBackup {
|
||||
const roomKeys = roomKeysOrNotFound.filter(k => !!k) as RoomKey[];
|
||||
if (roomKeys.length) {
|
||||
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);
|
||||
await uploadRequest.response();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user