element-hq / element-hq/synapse
`/event` omits `unsigned.membership` property
Open
A-E2EE
A-Spec-Compliance
A-User-Experience
T-Enhancement
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
https://spec.matrix.org/v1.11/client-server-api/#definition-clientevent_unsigneddata describes a `unsigned.membership` property, which SHOULD be populated for all events returned by the server. (Added by MSC4115.)
This appears to be absent on responses to `/event`.
Contributor guide
Research direction
Start by reading the Matrix client-server API definition for ClientEvent unsigned data and tracing Synapse's /event response path. Verify how unsigned data is assembled, then ensure responses to /event populate unsigned.membership as specified and add or run the relevant endpoint tests if available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100