summary refs log tree commit diff
path: root/synapse/handlers/room_list.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-02-25 17:28:19 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2019-02-25 17:28:19 +0000
commit1330aa4a8fdff5f6d1ff4bc5d27de674dfcd67e7 (patch)
tree033ac0c69b2d2c6eb2134b317d911930f4deea7d /synapse/handlers/room_list.py
parentsyntax derp (diff)
downloadsynapse-1330aa4a8fdff5f6d1ff4bc5d27de674dfcd67e7.tar.xz
elif not else if
Diffstat (limited to 'synapse/handlers/room_list.py')
-rw-r--r--synapse/handlers/room_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py
index b7f450e719..94cabc2a2e 100644
--- a/synapse/handlers/room_list.py
+++ b/synapse/handlers/room_list.py
@@ -308,7 +308,7 @@ class RoomListHandler(BaseHandler):
                 # This is a non-federating room and the config has chosen not
                 # to show these rooms to other servers
                 chunk.append(None)
-        else if result and _matches_room_entry(result, search_filter):
+        elif result and _matches_room_entry(result, search_filter):
             chunk.append(result)
 
     @cachedInlineCallbacks(num_args=2, cache_context=True)