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

send queue: reply to a local echo

Open
#5,121 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

It would be nice to be able to send a local reply to a local echo, so that while offline, it's possible to answer to a local echo.

Even better: it might be nice that the reply is *threaded*. This goes with a few complications, though: it would require that the thread-focused timeline supports the root being a local echo, which it doesn't support at the moment. And, it should properly handle the transition of the thread root from local to remote too, after it has been remote echoed. This last part might be a bit tricky.

- [ ] add support for an (unthreaded) reply to a local echo
- [ ] add support for a threaded timeline to focus on a local event (i.e. use a `TimelineItemEventId`)
- [ ] *then* add support for a threaded reply to a local echo

Part of #4869.

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 tracing how replies to local echoes are represented and how the thread-focused timeline selects its root. Implement the unthreaded local-echo reply first, then address local-event timeline focus and threaded replies, including the transition when the root becomes remotely echoed. Done means the three checklist items work without breaking the local-to-remote transition.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.