mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 15:39:22 -05:00
fix thumbnail storage location (#5915)
* fix thumbnail storage location Signed-off-by: Lorenz Steinert <lorenz@steinerts.de> * Add changelog file. Signed-off-by: Lorenz Steinert <lorenz@steinerts.de> * Update Changelog Signed-off-by: Lorenz Steinert <lorenz@steinerts.de>
This commit is contained in:
parent
cee00a3584
commit
ce7803b8b0
1
changelog.d/5915.bugfix
Normal file
1
changelog.d/5915.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix 404 for thumbnail download when `dynamic_thumbnails` is `false` and the thumbnail was dynamically generated. Fix reported by rkfg.
|
@ -526,7 +526,7 @@ class MediaRepository(object):
|
|||||||
try:
|
try:
|
||||||
file_info = FileInfo(
|
file_info = FileInfo(
|
||||||
server_name=server_name,
|
server_name=server_name,
|
||||||
file_id=media_id,
|
file_id=file_id,
|
||||||
thumbnail=True,
|
thumbnail=True,
|
||||||
thumbnail_width=t_width,
|
thumbnail_width=t_width,
|
||||||
thumbnail_height=t_height,
|
thumbnail_height=t_height,
|
||||||
|
Loading…
Reference in New Issue
Block a user