summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-02-26 12:13:55 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2019-02-26 12:13:55 +0000
commita712aa3a9c5c58eca6ecfa0cb23636035fbbf449 (patch)
treefd6dcea52a229b9cde1de6fd3daa999bb0a4b317
parentCorrect docstring types and chunk logic (diff)
downloadsynapse-a712aa3a9c5c58eca6ecfa0cb23636035fbbf449.tar.xz
Correct indent
-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)