summary refs log tree commit diff
path: root/synapse/rest/admin/__init__.py
diff options
context:
space:
mode:
authorAshish Kumar <ashfame@users.noreply.github.com>2022-11-11 19:38:17 +0400
committerGitHub <noreply@github.com>2022-11-11 15:38:17 +0000
commita3623af74e0af0d2f6cbd37b47dc54a1acd314d5 (patch)
tree75eb73d5832e371e47dffcc571bc6e35ce523939 /synapse/rest/admin/__init__.py
parentMerge/remove `Slaved*` stores into `WorkerStores` (#14375) (diff)
downloadsynapse-a3623af74e0af0d2f6cbd37b47dc54a1acd314d5.tar.xz
Add an Admin API endpoint for looking up users based on 3PID (#14405)
Diffstat (limited to 'synapse/rest/admin/__init__.py')
-rw-r--r--synapse/rest/admin/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/admin/__init__.py b/synapse/rest/admin/__init__.py
index 885669f9c7..c62ea22116 100644
--- a/synapse/rest/admin/__init__.py
+++ b/synapse/rest/admin/__init__.py
@@ -81,6 +81,7 @@ from synapse.rest.admin.users import (
     ShadowBanRestServlet,
     UserAdminServlet,
     UserByExternalId,
+    UserByThreePid,
     UserMembershipRestServlet,
     UserRegisterServlet,
     UserRestServletV2,
@@ -277,6 +278,7 @@ def register_servlets(hs: "HomeServer", http_server: HttpServer) -> None:
     RoomMessagesRestServlet(hs).register(http_server)
     RoomTimestampToEventRestServlet(hs).register(http_server)
     UserByExternalId(hs).register(http_server)
+    UserByThreePid(hs).register(http_server)
 
     # Some servlets only get registered for the main process.
     if hs.config.worker.worker_app is None: