This commit is contained in:
Neil Johnson 2019-04-02 14:18:33 +01:00
parent 18488b0290
commit 0546e866eb

View file

@ -92,5 +92,6 @@ class PresenceStatusRestServlet(ClientV1RestServlet):
def on_OPTIONS(self, request): def on_OPTIONS(self, request):
return (200, {}) return (200, {})
def register_servlets(hs, http_server): def register_servlets(hs, http_server):
PresenceStatusRestServlet(hs).register(http_server) PresenceStatusRestServlet(hs).register(http_server)