element-hq / element-hq/element-web
Element-R: backups are not flushed on logout
Open
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
Assessment
This issue has not been assessed yet.