summary refs log tree commit diff
path: root/synapse/replication/http/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-07-25 16:32:05 +0100
committerErik Johnston <erik@matrix.org>2018-08-06 15:02:28 +0100
commite26dbd82ef5f1d755be9a62165556ebce041af10 (patch)
treeee6468a55c2b6e63f32eba2a906af213876c0244 /synapse/replication/http/__init__.py
parentFix isort (diff)
downloadsynapse-e26dbd82ef5f1d755be9a62165556ebce041af10.tar.xz
Add replication APIs for persisting federation events
Diffstat (limited to 'synapse/replication/http/__init__.py')
-rw-r--r--synapse/replication/http/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/replication/http/__init__.py b/synapse/replication/http/__init__.py
index 589ee94c66..19f214281e 100644
--- a/synapse/replication/http/__init__.py
+++ b/synapse/replication/http/__init__.py
@@ -14,7 +14,7 @@
 # limitations under the License.
 
 from synapse.http.server import JsonResource
-from synapse.replication.http import membership, send_event
+from synapse.replication.http import federation, membership, send_event
 
 REPLICATION_PREFIX = "/_synapse/replication"
 
@@ -27,3 +27,4 @@ class ReplicationRestResource(JsonResource):
     def register_servlets(self, hs):
         send_event.register_servlets(hs, self)
         membership.register_servlets(hs, self)
+        federation.register_servlets(hs, self)