diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-08-03 07:12:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-03 07:12:55 -0400 |
commit | 3b415e23a52dfde90d387821e42cdb3a4eb4e068 (patch) | |
tree | 0fc06433e0da098b964c9fbf9bf5e7d1f13e7713 /synapse/replication/http/login.py | |
parent | Convert ACME code to async/await. (#7989) (diff) | |
download | synapse-3b415e23a52dfde90d387821e42cdb3a4eb4e068.tar.xz |
Convert replication code to async/await. (#7987)
Diffstat (limited to 'synapse/replication/http/login.py')
-rw-r--r-- | synapse/replication/http/login.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/http/login.py b/synapse/replication/http/login.py index 798b9d3af5..fb326bb869 100644 --- a/synapse/replication/http/login.py +++ b/synapse/replication/http/login.py @@ -36,7 +36,7 @@ class RegisterDeviceReplicationServlet(ReplicationEndpoint): self.registration_handler = hs.get_registration_handler() @staticmethod - def _serialize_payload(user_id, device_id, initial_display_name, is_guest): + async def _serialize_payload(user_id, device_id, initial_display_name, is_guest): """ Args: device_id (str|None): Device ID to use, if None a new one is |