mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 18:44:56 -04:00
Make a config option for whether to generate new thumbnail sizes dynamically
This commit is contained in:
parent
459085184c
commit
7e3d1c7d92
3 changed files with 27 additions and 7 deletions
|
@ -69,6 +69,7 @@ class BaseMediaResource(Resource):
|
|||
self.filepaths = filepaths
|
||||
self.version_string = hs.version_string
|
||||
self.downloads = {}
|
||||
self.dynamic_thumbnails = hs.config.dynamic_thumbnails
|
||||
|
||||
def _respond_404(self, request):
|
||||
respond_with_json(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue