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

GetRooms on "matrix-js-sdk": "^11.2.0" and "^12.0.0" getting only one room but on "^9.11.0" and "^10.1.0" is getting all the rooms

Open
#1,758 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.2k
Forks
704
Avg merge
1d 20h
Merged PRs (30d)
40

Description

Describe the bug
on newer matrix-js-sdk versions > 9.11.0 matrixClient.getRooms() is getting only 1 room but on versions "^9.11.0" and "^10.1.0" it's getting all rooms correctly

Expected behavior
Expect to return all rooms

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone12]
  • OS: [e.g. iOS14.5]

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 at the matrixClient.getRooms() entry point and compare its behavior between the reported matrix-js-sdk versions 9.11.0, 10.1.0, 11.2.0, and 12.0.0. Reproduce the issue with multiple rooms and identify the version change that limits the result; done means getRooms() returns all expected rooms on the affected versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.