matrix-org / matrix-org/matrix-js-sdk

change handling of multiple olm sessions according to spec

Open
#705 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

T-Defect
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.