From 06476ed4a9611c60f4cab5f4b9012301b32b9365 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Thu, 2 Jun 2016 11:26:49 +0100 Subject: Add an http endpoint for making users as syncing Add some docstrings and comments. --- synapse/replication/resource.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'synapse/replication/resource.py') diff --git a/synapse/replication/resource.py b/synapse/replication/resource.py index 847f212a3d..8c2d487ff4 100644 --- a/synapse/replication/resource.py +++ b/synapse/replication/resource.py @@ -16,6 +16,7 @@ from synapse.http.servlet import parse_integer, parse_string from synapse.http.server import request_handler, finish_request from synapse.replication.pusher_resource import PusherResource +from synapse.replication.presence_resource import PresenceResource from twisted.web.resource import Resource from twisted.web.server import NOT_DONE_YET @@ -115,6 +116,7 @@ class ReplicationResource(Resource): self.clock = hs.get_clock() self.putChild("remove_pushers", PusherResource(hs)) + self.putChild("syncing_users", PresenceResource(hs)) def render_GET(self, request): self._async_render_GET(request) -- cgit 1.5.1