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 /changelog.d | |
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 'changelog.d')
-rw-r--r-- | changelog.d/15300.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/15300.bugfix b/changelog.d/15300.bugfix new file mode 100644 index 0000000000..8f29b08444 --- /dev/null +++ b/changelog.d/15300.bugfix @@ -0,0 +1 @@ +Fix a bug in which the [`POST /_matrix/client/v3/rooms/{roomId}/report/{eventId}`](https://spec.matrix.org/v1.6/client-server-api/#post_matrixclientv3roomsroomidreporteventid) endpoint would return the wrong error if the user did not have permission to view the event. This aligns Synapse's implementation with [MSC2249](https://github.com/matrix-org/matrix-spec-proposals/pull/2249). \ No newline at end of file |