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

Commit

Permalink
fixup! media/create: add /create endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <[email protected]>
  • Loading branch information
sumnerevans committed Oct 24, 2023
1 parent 0fd582f commit 0354cc9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion synapse/media/media_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ async def create_media_id(self, auth_user: UserID) -> Tuple[str, int]:
"""
media_id = random_string(24)
now = self.clock.time_msec()
# After the configured amount of time, don't allow the upload to start.
await self.store.store_local_media_id(
media_id=media_id,
time_now_ms=now,
Expand Down

0 comments on commit 0354cc9

Please sign in to comment.