element-hq / element-hq/hydrogen-web

Fetch all keys at once when enabling key backup

Open
#254 2 comments 0 reactions 0 assignees View on GitHub
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

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.