mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-01 20:14:18 -04:00
Convert replication code to async/await. (#7987)
This commit is contained in:
parent
db5970ac6d
commit
3b415e23a5
11 changed files with 29 additions and 38 deletions
|
@ -548,7 +548,7 @@ class RegistrationHandler(BaseHandler):
|
|||
address (str|None): the IP address used to perform the registration.
|
||||
|
||||
Returns:
|
||||
Deferred
|
||||
Awaitable
|
||||
"""
|
||||
if self.hs.config.worker_app:
|
||||
return self._register_client(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue