matrix-org / matrix-org/matrix-js-sdk
change handling of multiple olm sessions according to spec
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.2k
- Forks
- 704
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 40
Description
The current behaviour uses the session with the lowest ID. The new spec (https://github.com/matrix-org/matrix-doc/pull/1596) uses the session that the client last received a message on, and expires old sessions.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the issue and the linked Matrix spec proposal, matrix-doc pull request 1596, to understand the required session-selection and expiration behavior. Trace the existing multiple-session handling from the TypeScript entry point identified during repository search, then verify that it selects the session with the most recently received message and expires older sessions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cryptography
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100