summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2023-06-06 12:32:29 +0100
committerGitHub <noreply@github.com>2023-06-06 12:32:29 +0100
commitdfd77f426e3e4a66dd027db7078ed0345a4c74dd (patch)
tree88ccf5257ffef87cdbd68343ade4edae2d21a421 /synapse/rest
parentMerge remote-tracking branch 'origin/master' into develop (diff)
downloadsynapse-dfd77f426e3e4a66dd027db7078ed0345a4c74dd.tar.xz
Remove some unused `server_name` fields (#15723)
Signed-off-by: Sean Quah <seanq@matrix.org>
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/media/upload_resource.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/rest/media/upload_resource.py b/synapse/rest/media/upload_resource.py
index 697348613b..043e8d6077 100644
--- a/synapse/rest/media/upload_resource.py
+++ b/synapse/rest/media/upload_resource.py
@@ -39,7 +39,6 @@ class UploadResource(DirectServeJsonResource):
         self.filepaths = media_repo.filepaths
         self.store = hs.get_datastores().main
         self.clock = hs.get_clock()
-        self.server_name = hs.hostname
         self.auth = hs.get_auth()
         self.max_upload_size = hs.config.media.max_upload_size
         self.clock = hs.get_clock()