From 0354cc91d5b060a8d993af2de38c6c81abbad664 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Mon, 23 Oct 2023 22:11:31 -0600 Subject: [PATCH] fixup! media/create: add /create endpoint Signed-off-by: Sumner Evans --- synapse/media/media_repository.py | 1 - 1 file changed, 1 deletion(-) diff --git a/synapse/media/media_repository.py b/synapse/media/media_repository.py index 1221fc34eb0e..e4eb8d3ae70b 100644 --- a/synapse/media/media_repository.py +++ b/synapse/media/media_repository.py @@ -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,