summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/account.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/client/v2_alpha/account.py')
-rw-r--r--synapse/rest/client/v2_alpha/account.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py
index 0f3b12880c..ca92a6a4cf 100644
--- a/synapse/rest/client/v2_alpha/account.py
+++ b/synapse/rest/client/v2_alpha/account.py
@@ -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)