summary refs log tree commit diff
path: root/synapse/replication/http
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-07-26 11:44:22 +0100
committerErik Johnston <erik@matrix.org>2018-08-06 15:23:31 +0100
commita3f5bf79a0fc0ea6d59069945f53717a3e9c6581 (patch)
tree5e8cabe33af2923ff80502b9e3e4eda6118af65b /synapse/replication/http
parentAdd replication APIs for persisting federation events (diff)
downloadsynapse-a3f5bf79a0fc0ea6d59069945f53717a3e9c6581.tar.xz
Add EDU/query handling over replication
Diffstat (limited to 'synapse/replication/http')
-rw-r--r--synapse/replication/http/federation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/http/federation.py b/synapse/replication/http/federation.py
index f39aaa89be..3fa7bd64c7 100644
--- a/synapse/replication/http/federation.py
+++ b/synapse/replication/http/federation.py
@@ -59,8 +59,8 @@ class ReplicationFederationSendEventsRestServlet(ReplicationEndpoint):
         self.notifier = hs.get_notifier()
         self.pusher_pool = hs.get_pusherpool()
 
-    @defer.inlineCallbacks
     @staticmethod
+    @defer.inlineCallbacks
     def _serialize_payload(store, event_and_contexts, backfilled):
         """
         Args: