matrix-org / matrix-org/matrix-spec
/send's `pdus` field should be optional
Open
Nobody has claimed this yet.
improvement
- Dominant language
- HTML
- Stars
- 330
- Forks
- 150
- Avg merge
- 2h 21m
- Merged PRs (30d)
- 3
Description
https://matrix.org/docs/spec/server_server/r0.1.4#put-matrix-federation-v1-send-txnid
Currently, servers need to send `"pdus":[]` in every /send request even if they just want to push a presence update. If we make pdus optional, servers can leave it out.
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
Open the linked Matrix federation specification section and locate the /send request schema, focusing on the pdus field. Update the specification so requests containing only a presence update do not require pdus, then verify the revised schema and examples accept an omitted field.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, documentation
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100