diff options
author | Erik Johnston <erik@matrix.org> | 2018-07-25 16:32:05 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-08-06 15:02:28 +0100 |
commit | e26dbd82ef5f1d755be9a62165556ebce041af10 (patch) | |
tree | ee6468a55c2b6e63f32eba2a906af213876c0244 /synapse/replication/http/__init__.py | |
parent | Fix isort (diff) | |
download | synapse-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__.py | 3 |
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) |