diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-01-21 14:53:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-21 14:53:58 -0500 |
commit | a7882f98874684969910d3a6ed7d85f99114cc45 (patch) | |
tree | 212c188027151c242a29171550428d5158fa898b /synapse/server.py | |
parent | Align the directories linted in CI with the defaults in scripts-dev/lint.sh (... (diff) | |
download | synapse-a7882f98874684969910d3a6ed7d85f99114cc45.tar.xz |
Return a 404 if no valid thumbnail is found. (#9163)
If no thumbnail of the requested type exists, return a 404 instead of erroring. This doesn't quite match the spec (which does not define what happens if no thumbnail can be found), but is consistent with what Synapse already does.
Diffstat (limited to 'synapse/server.py')
0 files changed, 0 insertions, 0 deletions