mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 05:00:20 +00:00
Register the 3pid servlet
This commit is contained in:
parent
94e1e58b4d
commit
bf5e54f255
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue