element-hq / element-hq/synapse
Unspecced `user_id` field present in /messages response
Open
A-Spec-Compliance
T-Defect
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#7924](https://github.com/matrix-org/synapse/issues/7924).
---
When querying the `/messages` endpoint, the events in the `chunk` in the response will include a `user_id` field which duplicates the `sender` field. The `user_id` field is not listed in the spec (nor shown in its examples), and so should probably be removed?
Related: #7606?
Contributor guide
Assessment
This issue has not been assessed yet.