diff --git a/synapse/rest/client/v1/presence.py b/synapse/rest/client/v1/presence.py index 279ed56928..045d5a20ac 100644 --- a/synapse/rest/client/v1/presence.py +++ b/synapse/rest/client/v1/presence.py @@ -92,5 +92,6 @@ class PresenceStatusRestServlet(ClientV1RestServlet): def on_OPTIONS(self, request): return (200, {}) + def register_servlets(hs, http_server): PresenceStatusRestServlet(hs).register(http_server)