diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-05-11 16:07:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-11 16:07:47 +0100 |
commit | c25d7ba12e136a64c4a94964298b66de2e271678 (patch) | |
tree | 0a25aae9a5836826d49ea08f6ec88e2ff5c286fa /synapse/http/additional_resource.py | |
parent | Merge pull request #3209 from damir-manapov/master (diff) | |
parent | Set Server header in SynapseRequest (diff) | |
download | synapse-c25d7ba12e136a64c4a94964298b66de2e271678.tar.xz |
Merge pull request #3208 from matrix-org/rav/more_refactor_request_handler
Set Server header in SynapseRequest
Diffstat (limited to 'synapse/http/additional_resource.py')
-rw-r--r-- | synapse/http/additional_resource.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/http/additional_resource.py b/synapse/http/additional_resource.py index d9e7f5dfb7..a797396ade 100644 --- a/synapse/http/additional_resource.py +++ b/synapse/http/additional_resource.py @@ -42,8 +42,7 @@ class AdditionalResource(Resource): Resource.__init__(self) self._handler = handler - # these are required by the request_handler wrapper - self.version_string = hs.version_string + # required by the request_handler wrapper self.clock = hs.get_clock() def render(self, request): |