summary refs log tree commit diff
path: root/scripts/update_synapse_database
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update_synapse_database')
-rwxr-xr-xscripts/update_synapse_database2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update_synapse_database b/scripts/update_synapse_database
index 26b29b0b45..6c088bad93 100755
--- a/scripts/update_synapse_database
+++ b/scripts/update_synapse_database
@@ -36,7 +36,7 @@ class MockHomeserver(HomeServer):
 
     def __init__(self, config, **kwargs):
         super(MockHomeserver, self).__init__(
-            config.server_name, reactor=reactor, config=config, **kwargs
+            config.server.server_name, reactor=reactor, config=config, **kwargs
         )
 
         self.version_string = "Synapse/" + get_version_string(synapse)