mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Register the 3pid servlet
This commit is contained in:
parent
94e1e58b4d
commit
bf5e54f255
@ -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 New Issue
Block a user