summary refs log tree commit diff
path: root/synapse/replication/http/devices.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-08-03 07:12:55 -0400
committerGitHub <noreply@github.com>2020-08-03 07:12:55 -0400
commit3b415e23a52dfde90d387821e42cdb3a4eb4e068 (patch)
tree0fc06433e0da098b964c9fbf9bf5e7d1f13e7713 /synapse/replication/http/devices.py
parentConvert ACME code to async/await. (#7989) (diff)
downloadsynapse-3b415e23a52dfde90d387821e42cdb3a4eb4e068.tar.xz
Convert replication code to async/await. (#7987)
Diffstat (limited to 'synapse/replication/http/devices.py')
-rw-r--r--synapse/replication/http/devices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/http/devices.py b/synapse/replication/http/devices.py
index e32aac0a25..20f3ba76c0 100644
--- a/synapse/replication/http/devices.py
+++ b/synapse/replication/http/devices.py
@@ -60,7 +60,7 @@ class ReplicationUserDevicesResyncRestServlet(ReplicationEndpoint):
         self.clock = hs.get_clock()
 
     @staticmethod
-    def _serialize_payload(user_id):
+    async def _serialize_payload(user_id):
         return {}
 
     async def _handle_request(self, request, user_id):