diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2023-03-21 13:24:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-21 13:24:03 +0000 |
commit | ec9224bf9a7bebb6c429ef45e0d1a293f0986836 (patch) | |
tree | d140e37a1f09dabca17f85377639cacfeae326e2 /docs/upgrade.md | |
parent | Make `EventHandler.get_event` return `None` when the requested event is not f... (diff) | |
download | synapse-ec9224bf9a7bebb6c429ef45e0d1a293f0986836.tar.xz |
Make `POST /_matrix/client/v3/rooms/{roomId}/report/{eventId}` endpoint return 404 if event exists, but the user lacks access (#15300)
Diffstat (limited to 'docs/upgrade.md')
-rw-r--r-- | docs/upgrade.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/upgrade.md b/docs/upgrade.md index f06e874054..f14444a400 100644 --- a/docs/upgrade.md +++ b/docs/upgrade.md @@ -88,6 +88,18 @@ process, for example: dpkg -i matrix-synapse-py3_1.3.0+stretch1_amd64.deb ``` +# Upgrading to v1.80.0 + +## Reporting events error code change + +Before this update, the +[`POST /_matrix/client/v3/rooms/{roomId}/report/{eventId}`](https://spec.matrix.org/v1.6/client-server-api/#post_matrixclientv3roomsroomidreporteventid) +endpoint would return a `403` if a user attempted to report an event that they did not have access to. +This endpoint will now return a `404` in this case instead. + +Clients that implement event reporting should check that their error handling code will handle this +change. + # Upgrading to v1.79.0 ## The `on_threepid_bind` module callback method has been deprecated |