matrix-org / matrix-org/matrix-rust-sdk

threads may not be displayed in the timeline after logging in

Open
#5,716 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-Threads
Dominant language
Rust
Stars
2.3k
Forks
500
Avg merge
1d 16h
Merged PRs (30d)
106

Description

This bug is random. I got it twice out of 6 attempts.

Steps to reproduce:

  • Have a e2ee room with threads on the last events (the 2 last ones had threads in my case)
  • Log out
  • Log in
  • Verify your device to get access to the key backup
  • Open the room

The problem:
The timeline does not show threads for those events.

Notes:

  • If I back paginate, other threads are displayed correctly
  • Killing the app does not fix the issue
  • Clearing the cache fixes the issue
  • I cannot reproduce the issue in non e2ee rooms

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 with the logout/login, device-verification, and room-opening steps in issue #5716, comparing encrypted rooms with non-encrypted rooms. Check timeline loading before and after back-pagination and cache clearing; done means threads appear for the latest events immediately after login without requiring pagination or clearing the cache.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.