Restore backup never reports load_keys
progress of empty backup
#4703
Labels
A-Element-R
Issues affecting the port of Element's crypto layer to Rust
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
Before
restoreKeyBackup
starts the process of importing key backup, it reportsload_keys
withouttotal
,successes
andfailures
as progress, indicating the progress is shifted fromfetch_keys
.After that it reports progress with keys import data which client can use to track key restore progress, but in the case where backup doesn't have any keys (0 keys) it doesn't report with
and tricks the client thinking forever that import progress is yet to happen
this should contain actual
total
number of keys withsuccesses
andfailures
set to0
matrix-js-sdk/src/rust-crypto/backup.ts
Lines 615 to 617 in 30d9b05
The text was updated successfully, but these errors were encountered: