matrix-org / matrix-org/cerulean
Display user friendly error if running against Synapse
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 106
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Threads are empty.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to [a thread](https://cerulean.matrix.org/@matthew:dendrite.matrix.org/!o3r2XygCOPz3cWID:dendrite.matrix.org/$K94YqDqDTfv-DsHYQAdZL1BsUjWzlwqr5bVrXIeyxZs)
2. See empty page
**Expected behavior**
I'd expect to see the thread contents. Or to understand why I'm not able to see them. Or even what can I do to fix that.
**Screenshots**
The page is empty.
Also, the Firefox console logs an error:`{ errcode: "M_UNRECOGNIZED", error: "Unrecognized request" }`:

It's a body of a HTTP 400 response to a POST https://matrix.org/_matrix/client/unstable/event_relationships
- OS: iOS
- Browser Firefox 84.0.1
**Additional context**
Logged in via federation to `matrix.org`.
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 reproducing the empty thread page and inspect the request to POST /_matrix/client/unstable/event_relationships, which returns M_UNRECOGNIZED when federated to matrix.org. The work is done when users see a clear explanation instead of an empty page, including what they can do about the unsupported request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100