RustBackupManager.getServerBackupInfo()
returns deleted backup info after RustBackupManager.deleteKeyBackupVersion()
call
#4534
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-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Defect
RustBackupManager.deleteKeyBackupVersion
deletes a key backup on the server:matrix-js-sdk/src/rust-crypto/backup.ts
Lines 580 to 586 in 781c3b0
If we delete the active backup, the properties
RustBackupManager.serverBackupInfo
&RustBackupManager.activeBackupVersion
are out of sync.When we call
RustBackupManager.getServerBackupInfo
, we get the key backup info of the deleted backup.matrix-js-sdk/src/rust-crypto/backup.ts
Lines 111 to 116 in 781c3b0
The text was updated successfully, but these errors were encountered: