Register the 3pid servlet

This commit is contained in:
David Baker 2015-04-17 13:44:55 +01:00
parent 94e1e58b4d
commit bf5e54f255

View File

@ -75,7 +75,7 @@ class PasswordRestServlet(RestServlet):
return 200, {}
class AddThreepidRestServlet(RestServlet):
class ThreepidRestServlet(RestServlet):
PATTERN = client_v2_pattern("/account/3pid")
@defer.inlineCallbacks
@ -92,3 +92,5 @@ class AddThreepidRestServlet(RestServlet):
def register_servlets(hs, http_server):
PasswordRestServlet(hs).register(http_server)
ThreepidRestServlet(hs).register(http_server)
ThreepidRestServlet(hs).register(http_server)