diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-29 14:59:52 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-29 14:59:52 +0100 |
commit | 3ccb17ce592d7e75e0bd0237c347d64f63d5eb10 (patch) | |
tree | c5931cd53ad04a32430a51afcb8b7a06ea88920d /synapse/rest/__init__.py | |
parent | Add auth check to test if a user is an admin or not. (diff) | |
download | synapse-3ccb17ce592d7e75e0bd0237c347d64f63d5eb10.tar.xz |
SYN-48: Implement WHOIS rest servlet
Diffstat (limited to 'synapse/rest/__init__.py')
-rw-r--r-- | synapse/rest/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/rest/__init__.py b/synapse/rest/__init__.py index 3b9aa59733..e391e5678d 100644 --- a/synapse/rest/__init__.py +++ b/synapse/rest/__init__.py @@ -15,7 +15,8 @@ from . import ( - room, events, register, login, profile, presence, initial_sync, directory, voip + room, events, register, login, profile, presence, initial_sync, directory, + voip, admin, ) @@ -43,3 +44,4 @@ class RestServletFactory(object): initial_sync.register_servlets(hs, client_resource) directory.register_servlets(hs, client_resource) voip.register_servlets(hs, client_resource) + admin.register_servlets(hs, client_resource) |