element-hq / element-hq/synapse

Stabilize support for MSC2675: /relations endpoint

Open
#11,753 0 comments 0 reactions 0 assignees View on GitHub
A-Threads T-Task
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#11753](https://github.com/matrix-org/synapse/issues/11753).

---

[MSC2675](https://github.com/matrix-org/matrix-doc/pull/2675) is currently in FCP (to complete tomorrow, barring any concerns). We have a few bits of work to do to stabilize support in Synapse for it:

* [x] Fix-up redaction support:
* Ensure that redacted relations are not bundled nor returned from `/relations`.
* Support fetching relations of a redacted event. (Currently this returns nothing.)
* Bundle aggregations for a redacted event.
* [x] Properly handle relations for ignored users in:
* [x] `/relations`
* [x] Bundled aggregations.
* [x] Support accepting pagination tokens from `/sync` and `/messages`.
* [x] Clean-up backwards compatibility with the old pagination token format.
* [x] Add the `v1` prefix for `/relations`.
* [ ] Remove the `unstable` prefix for `/relations`.

Those were all the differences that I found by reading through it, but there could be more.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.