summary refs log tree commit diff
path: root/synapse/app/homeserver.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-05-11 16:07:47 +0100
committerGitHub <noreply@github.com>2018-05-11 16:07:47 +0100
commitc25d7ba12e136a64c4a94964298b66de2e271678 (patch)
tree0a25aae9a5836826d49ea08f6ec88e2ff5c286fa /synapse/app/homeserver.py
parentMerge pull request #3209 from damir-manapov/master (diff)
parentSet Server header in SynapseRequest (diff)
downloadsynapse-c25d7ba12e136a64c4a94964298b66de2e271678.tar.xz
Merge pull request #3208 from matrix-org/rav/more_refactor_request_handler
Set Server header in SynapseRequest
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-xsynapse/app/homeserver.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index a0e465d644..75f40fd5a4 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -140,6 +140,7 @@ class SynapseHomeServer(HomeServer):
                     site_tag,
                     listener_config,
                     root_resource,
+                    self.version_string,
                 ),
                 self.tls_server_context_factory,
             )
@@ -153,6 +154,7 @@ class SynapseHomeServer(HomeServer):
                     site_tag,
                     listener_config,
                     root_resource,
+                    self.version_string,
                 )
             )
         logger.info("Synapse now listening on port %d", port)