diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2023-03-21 13:23:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-21 13:23:47 +0000 |
commit | b6aef593347924d39b4ff8b07e375eb656001545 (patch) | |
tree | 3f7642647b8e184b21067834bcb4a89abc5a34a6 /changelog.d/15298.bugfix | |
parent | Document that our Docker images are mirrored to GHCR. (#15282) (diff) | |
download | synapse-b6aef593347924d39b4ff8b07e375eb656001545.tar.xz |
Make `EventHandler.get_event` return `None` when the requested event is not found (#15298)
Diffstat (limited to 'changelog.d/15298.bugfix')
-rw-r--r-- | changelog.d/15298.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/15298.bugfix b/changelog.d/15298.bugfix new file mode 100644 index 0000000000..8f29b08444 --- /dev/null +++ b/changelog.d/15298.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 |