diff options
author | Erik Johnston <erik@matrix.org> | 2024-07-22 12:08:55 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2024-07-22 12:11:09 +0100 |
commit | 94f06143fcbeb597505b394aba5b0908995177c0 (patch) | |
tree | d325599a8485a1f57afc6d8326f497f70e0ae6da /synapse/rest/media/thumbnail_resource.py | |
parent | Remove fiddling (diff) | |
parent | WIP faster sort (diff) | |
download | synapse-94f06143fcbeb597505b394aba5b0908995177c0.tar.xz |
Merge branch 'erikj/ss_faster_sort' into erikj/ss_hacks
Diffstat (limited to 'synapse/rest/media/thumbnail_resource.py')
-rw-r--r-- | synapse/rest/media/thumbnail_resource.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/rest/media/thumbnail_resource.py b/synapse/rest/media/thumbnail_resource.py index 70354aa439..536fea4c32 100644 --- a/synapse/rest/media/thumbnail_resource.py +++ b/synapse/rest/media/thumbnail_resource.py @@ -96,6 +96,7 @@ class ThumbnailResource(RestServlet): m_type, max_timeout_ms, False, + allow_authenticated=False, ) else: await self.thumbnail_provider.respond_local_thumbnail( @@ -107,6 +108,7 @@ class ThumbnailResource(RestServlet): m_type, max_timeout_ms, False, + allow_authenticated=False, ) self.media_repo.mark_recently_accessed(None, media_id) else: @@ -134,6 +136,7 @@ class ThumbnailResource(RestServlet): m_type, max_timeout_ms, ip_address, - False, + use_federation=False, + allow_authenticated=False, ) self.media_repo.mark_recently_accessed(server_name, media_id) |