element-hq / element-hq/element-web

Element-R: backups are not flushed on logout

Open
#27,267 1 comment 0 reactions 0 assignees View on GitHub
A-E2EE A-E2EE-Key-Backup A-Element-R O-Occasional S-Major T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

Approximately every 10 seconds, we check to see if we have any room keys that need backing up to the server, and if so, we upload a batch.

This means that, when you log out, up to 10 seconds' worth of keys are lost. (This also happens when the app is closed, but it's hard to do much about that.)

On legacy crypto, we used to flush any pending backups in `MatrixClient.logout`. This doesn't happen for Rust crypto.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.