mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-18 05:30:33 -04:00
Add FIXME comment
This commit is contained in:
@@ -314,6 +314,10 @@ impl OlmMachine {
|
||||
}
|
||||
};
|
||||
|
||||
// FIXME: This is a workaround due to `regenerate_olm` that was clearing backup
|
||||
// state. Backups shouldn't be automatically enabled.
|
||||
// The OlmMachine doesn't get enough info from the homeserver for this to work
|
||||
// reliably. I don't belong here.
|
||||
let saved_keys = store.load_backup_keys().await?;
|
||||
let maybe_backup_key = saved_keys.decryption_key.and_then(|k| {
|
||||
if let Some(version) = saved_keys.backup_version {
|
||||
|
||||
Reference in New Issue
Block a user