diff options
author | DeepBlueV7.X <nicolas.werner@hotmail.de> | 2020-09-08 16:19:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-08 17:19:50 +0100 |
commit | 560f3b8609a3d1d566f33eeab029a4e96fe3ee02 (patch) | |
tree | 12ab0a7138c2e7f0a5a1f8865f9f87c5f6bfad5d /changelog.d | |
parent | Add types to StreamToken and RoomStreamToken (#8279) (diff) | |
download | synapse-560f3b8609a3d1d566f33eeab029a4e96fe3ee02.tar.xz |
Include method in thumbnail media name (#7124)
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>
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/7124.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/7124.bugfix b/changelog.d/7124.bugfix new file mode 100644 index 0000000000..8fd177780d --- /dev/null +++ b/changelog.d/7124.bugfix @@ -0,0 +1 @@ +Fix a bug in the media repository where remote thumbnails with the same size but different crop methods would overwrite each other. Contributed by @deepbluev7. |