summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--synapse/handlers/room_list.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py
index 7ab8476680..0ce274e9ae 100644
--- a/synapse/handlers/room_list.py
+++ b/synapse/handlers/room_list.py
@@ -332,9 +332,9 @@ class RoomListHandler(BaseHandler):
 
         if from_federation:
             if "m.federate" in result and not result["m.federate"]:
-            # This is a room that other servers cannot join. Do not show them
-            # this room.
-            return
+                # This is a room that other servers cannot join. Do not show them
+                # this room.
+                return
 
         if _matches_room_entry(result, search_filter):
             chunk.append(result)