summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2023-01-12 16:45:23 +0000
committerRichard van der Hoff <richard@matrix.org>2023-01-12 16:45:23 +0000
commit0f061f39f0868d10adfde4e957d74fa3cb7b04c3 (patch)
tree025169dc3ba1ca84c6e158ad4476464e13d4c8bb /synapse/handlers
parentAdd rust linting commands to `scripts-dev/lint.sh` (#14822) (diff)
parentFix race calling `/members?at=` (#14817) (diff)
downloadsynapse-0f061f39f0868d10adfde4e957d74fa3cb7b04c3.tar.xz
Merge remote-tracking branch 'origin/release-v1.75' into develop
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/sync.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index 6942e06c77..20ee2f203a 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -1793,10 +1793,6 @@ class SyncHandler:
             - newly_left_users
         """
 
-        # If the request doesn't care about rooms then nothing to do!
-        if sync_result_builder.sync_config.filter_collection.blocks_all_rooms():
-            return set(), set(), set(), set()
-
         since_token = sync_result_builder.since_token
 
         # 1. Start by fetching all ephemeral events in rooms we've joined (if required).