matrix-org / matrix-org/matrix-spec
Remove score from /reportEvent
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 330
- Forks
- 150
- Avg merge
- 2h 21m
- Merged PRs (30d)
- 3
Description
Context: https://matrix.org/docs/spec/client_server/r0.5.0#post-matrix-client-r0-rooms-roomid-report-eventid
This is quite a useless key, as I don't think it was well thought through as to how you would define offensiveness as an integer. If it's taken straight from the user, they are very likely to use the maximum value as it would probably be interpreted as an urgent-ness meter.
Even if hidden behind some checkboxes, how do you define what is more offensive for individuals.
At the very minimum this should be an optional key, but ideally should be thrown straight out as currently all supported matrix clients hardcode a value.
https://github.com/matrix-org/matrix-react-sdk/pull/3290/files#diff-551ca16d6a8ffb96888b337b5246402dR66
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 with the linked Matrix client-server specification section for POST /reportEvent and compare it with the referenced matrix-react-sdk pull request diff. Identify where the score key is defined and documented; done means the endpoint no longer requires or describes score consistently across the specification.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, documentation
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100