diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-05-02 11:59:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-02 11:59:16 +0100 |
commit | 12f9d51e826058998cb11759e068de8977ddd3d5 (patch) | |
tree | 18171eff8103d20a810db8ace3599e967a79f6de /synapse/rest/__init__.py | |
parent | Merge pull request #5124 from matrix-org/babolivier/aliases (diff) | |
download | synapse-12f9d51e826058998cb11759e068de8977ddd3d5.tar.xz |
Add admin api for sending server_notices (#5121)
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 e8e1bcddea..3a24d31d1b 100644 --- a/synapse/rest/__init__.py +++ b/synapse/rest/__init__.py @@ -117,4 +117,6 @@ class ClientRestResource(JsonResource): account_validity.register_servlets(hs, client_resource) # moving to /_synapse/admin - synapse.rest.admin.register_servlets(hs, client_resource) + synapse.rest.admin.register_servlets_for_client_rest_resource( + hs, client_resource + ) |