mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
560f3b8609
This fixes an issue where different methods (crop/scale) overwrite each other. This first tries the new path. If that fails and we are looking for a remote thumbnail, it tries the old path. If that still isn't found, it continues as normal. This should probably be removed in the future, after some of the newer thumbnails were generated with the new path on most deployments. Then the overhead should be minimal if the other thumbnails need to be regenerated. Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de> |
||
---|---|---|
.. | ||
__init__.py | ||
_base.py | ||
config_resource.py | ||
download_resource.py | ||
filepath.py | ||
media_repository.py | ||
media_storage.py | ||
preview_url_resource.py | ||
storage_provider.py | ||
thumbnail_resource.py | ||
thumbnailer.py | ||
upload_resource.py |