Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSC2414: Make reason and score parameters optional for reporting content #2414

Merged
merged 9 commits into from
Oct 7, 2020
19 changes: 19 additions & 0 deletions proposals/2414-optional-content-reporting-reason.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# MSC2414: Make `reason` optional for reporting content
anoadragon453 marked this conversation as resolved.
Show resolved Hide resolved

Currently, the spec says that the `reason` parameter on the content reporting
endpoint is required, but also says that the string "may be blank." This
seems to be a contradiction.

This MSC proposes that the `required` flag for this parameter be removed, as
well as the "may be blank" clause in the description.

Note that the kicking and banning endpoints already have optional `reason`
parameters. The other endpoints mentioned in [#2367](https://github.com/matrix-org/matrix-doc/pull/2367) will also add
optional `reason` parameters, so it seems that it would be more more consistent
with the rest of the spec to make this optional as well.

## Backwards Compatibility

Since servers currently expect this field to be sent by all clients, making
this optional is a breaking change. Clients should send query the version of
the homeserver to determine whether they can safely omit this field.
iinuwa marked this conversation as resolved.
Show resolved Hide resolved