mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 05:00:20 +00:00
This fixed the weirdness of 400 vs 404 as http status code in the case the filter id is not known by the server. As e.g. matrix-js-sdk expects 404 to catch this situation this leads to unwanted behaviour.
1 line
138 B
Text
1 line
138 B
Text
Return an HTTP 404 instead of 400 when requesting a filter by ID that is unknown to the server. Thanks to @krombel for contributing this!
|