diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-11-06 14:54:24 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-11-06 14:54:24 +0000 |
commit | 1fe3cc2c9c59001a6d3f7b28f81bd6681c3c03ac (patch) | |
tree | 72d9637e171a6d2c1303963d16188f17570a53a5 /synapse/replication/http/register.py | |
parent | Add changelog (diff) | |
download | synapse-1fe3cc2c9c59001a6d3f7b28f81bd6681c3c03ac.tar.xz |
Address review comments
Diffstat (limited to 'synapse/replication/http/register.py')
-rw-r--r-- | synapse/replication/http/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/http/register.py b/synapse/replication/http/register.py index 6f4bba7aa4..0c4aca1291 100644 --- a/synapse/replication/http/register.py +++ b/synapse/replication/http/register.py @@ -75,7 +75,7 @@ class ReplicationRegisterServlet(ReplicationEndpoint): async def _handle_request(self, request, user_id): content = parse_json_object_from_request(request) - await self.registration_handler.check_registration_ratelimit(content["address"]) + self.registration_handler.check_registration_ratelimit(content["address"]) await self.registration_handler.register_with_store( user_id=user_id, |