Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
fixup! media/{download,thumbnail}: support timeout_ms parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <me@sumnerevans.com>
  • Loading branch information
sumnerevans committed Nov 9, 2023
1 parent 4e4e8d0 commit 37c7970
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions synapse/media/media_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,10 +505,6 @@ async def get_remote_media(
media_info.media_length,
upload_name,
)
elif media_info:
# The media exists (but the responder doesn't) meaning that this file hasn't
# been uploaded yet.
self.respond_not_yet_uploaded(request)
else:
respond_404(request)

Expand Down

0 comments on commit 37c7970

Please sign in to comment.