diff options
author | reivilibre <oliverw@matrix.org> | 2023-02-28 16:37:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-28 16:37:19 +0000 |
commit | 682d31c7023b6b7299e74bc631e4d2acc60f91ac (patch) | |
tree | f5f8ec31099dcfe5f4f4ae753850e2a890ca14f9 /synapse/rest | |
parent | Add missing type hints to InsecureInterceptableContextFactory. (#15164) (diff) | |
download | synapse-682d31c7023b6b7299e74bc631e4d2acc60f91ac.tar.xz |
Allow use of the `/filter` Client-Server APIs on workers. (#15134)
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/rest/__init__.py b/synapse/rest/__init__.py index 14c4e6ebbb..c327f15043 100644 --- a/synapse/rest/__init__.py +++ b/synapse/rest/__init__.py @@ -108,8 +108,7 @@ class ClientRestResource(JsonResource): if is_main_process: logout.register_servlets(hs, client_resource) sync.register_servlets(hs, client_resource) - if is_main_process: - filter.register_servlets(hs, client_resource) + filter.register_servlets(hs, client_resource) account.register_servlets(hs, client_resource) register.register_servlets(hs, client_resource) if is_main_process: |