element-hq / element-hq/hydrogen-web
Fetch all keys at once when enabling key backup
Open
maintenance
performance
- Dominant language
- TypeScript
- Stars
- 714
- Forks
- 131
- PR merge metrics
- No merged PRs in 30d
Description
Right now, we try to get a single session from key backup when decryption fails. It's hard to know when is a good time to try to fetch from key backup though, especially when reading events that fail to decrypt but don't have their session in the backup either. You easily end up requesting sessions from backup when opening a room every time.
This is similar behaviour to what element web does.
Contributor guide
Assessment
This issue has not been assessed yet.